Part Number Hot Search : 
54H21FM A3P125 U52C4V RTD34024 U4324A 1N963A 100TS60S 74HC32
Product Description
Full Text Search
 

To Download R5F36CAKDFA Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  r01ds0034ej0200 rev.2.00 page 1 of 95 feb 07, 2011 m16c/6c group renesas mcu r01ds0034ej0200 rev.2.00 feb 07, 2011 datasheet 1. overview 1.1 features the m16c/6c group microcomputer (mcu) incorpor ates the m16c/60 series cpu core and flash memory, employing sophisticated instructions for a high level of efficiency. this mcu has 1 mb of address space and it is capable of executing instructions at high speed. in addition, the cpu core boasts a multiplier for high-speed operation processing. this mcu consumes low power, and supports operati ng modes that allow additional power control. the mcu also uses an anti-noise configuration to reduce emissions of electromagnetic noise and is designed to withstand electromagnetic interference (emi). by in tegrating many of the perip heral functions, including the multifunction timer and serial interface, the number of sy stem components has been reduced. 1.1.1 applications this mcu can be used in personal computer peripherals (usb compatible products), audio components, cameras, televisions, household appli ances, office equipment, communication devices, mobile devices, industrial equipment, and other applications. note: this product has been designed and dev eloped for the purpose of being used in consumer products. it cannot be used with pr oducts that require a high level of quality such as automotive electronics.
r01ds0034ej0200 rev.2.00 page 2 of 95 feb 07, 2011 m16c/6c group 1. overview 1.2 specifications the m16c/6c group is available in a 100-pin pack age. table 1.1 and table 1.2 list specifications. table 1.1 specifications (1/2) item function description cpu central processing unit m16c/60 series core (multiplier: 16 bit 16 bit  32 bit, multiply and accumulate instruction: 16 bit 16 bit + 32 bit  32 bit) ? number of basic instructions: 91 ? minimum instruction execution time: 31.25 ns (f(bclk) = 32 mhz, vcc1 = vcc2 = 2.7 to 5.5 v) ? operating modes: single-chip, memo ry expansion, and microprocessor memory rom, ram, data flas h see table 1.3 ?product list? voltage detection voltage detector ? power-on reset ? 3 voltage detection points (detection level of voltage detection 0 selectable) clock clock generator ? 5 circuits: main clock, sub clock, low-speed on-chip oscillator (125 khz), high-speed on-chip oscillator (40 mhz 10%), pll frequency synthesizer ? oscillation stop detection: main clock oscillation stop/restart detection function ? frequency divider circuit: divide ratio selectable from 1, 2, 4, 8, and 16 ? power saving features: wait mode, stop mode ? real-time clock external bus expansion bus memory expansion ? address space: 1 mb ? external bus interface: 0 to 3 waits inserted, 4 chip select outputs, 3 v and 5 v interfaces ? bus format: separate bus or multiplex ed bus selectable, data bus width (8 bits), number of address buses selectable (12, 16, or 20) i/o ports programmable i/o ports ? cmos i/o ports: 85 (selectable pull-up resistors) ? n-channel open drain ports: 3 interrupts ? interrupt vectors: 70 ? external interrupt inputs: 13 ( nmi , int 8, key input 4) ? interrupt priority levels: 7 watchdog timer 15-bit timer 1 (with prescaler) automatic reset start function selectable dma dmac ? 4 channels, cycle steal mode ? trigger sources: 55 ? transfer modes: 2 (single transfer, repeat transfer)
r01ds0034ej0200 rev.2.00 page 3 of 95 feb 07, 2011 m16c/6c group 1. overview notes: 1. see table 1.3 ?product list? for the operating temperature. table 1.2 specifications (2/2) item function description timers timer a 16-bit timer 5 timer mode, event counter mode, one-shot timer mode, pulse width modulation (pwm) mode event counter two-phase pulse si gnal processing (two-phase encoder input) 3 programmable output mode 3 timer b 16-bit timer 6 timer mode, event counter mode, pulse period measurement mode, pulse width measurement mode three-phase motor control timer functions ? three-phase inverter control (timer a1, timer a2, ti mer a4, timer b2) ? on-chip dead time timer real-time clock count: seconds, minutes, hours, days of the week timer s (input capture/output compare) ? input base timer: 16 bits x 1 ? i/o: 8 channels ? time measurement register, waveform generation register: 16 bits x 8 serial interface uart0 to uart5 clock synchronous/asynchronous 6 channels i 2 c-bus, iebus, special mode 2 sim (uart2) multi-master i 2 c-bus interface 1 channel usb functions ? full speed (12 mbps, usb 2.0 compliant) ? transfer type: control in/out, bulk in x 2, bulk out x 2, interrupt in x 2 ? fifo size: 584 bytes ? setup 8 bytes ? control in 16 bytes ? control out 16 bytes ? interrupt in 16 bytes: 2 channels ? bulk in 64 bytes x 2: 2 channels ? bulk out 64 bytes x 2: 2 channels a/d converter 10-bit resolution 26 channels (2 circuits), including sample and hold function conversion time: 1.72 s d/a converter 8-bit resolution 2 circuits crc calculator crc-ccitt (x 16 + x 12 + x 5 + 1), crc-16 (x 16 + x 15 + x 2 + 1) compliant flash memory ? program and erase power suppl y voltage: 2.7 to 5.5 v ? program and erase cycles: 1,000 ti mes (program rom 1, program rom 2), 10,000 times (data flash) ? program security: rom code protect, id code check debug functions on-chip debug, on-board fl ash rewrite, address match interrupt 4 operation frequency/supply voltage 32 mhz/vcc1 = 2.7 to 5.5 v, vcc2 = 2.7 v to vcc1 current consumption described in electrical characteristics operating temperature -20c to 85c, -40c to 85c (1) package 100-pin qfp: prqp0100jd-b (previous package code: 100p6f-a) 100-pin lqfp: plqp0100kb-a (previous package code: 100p6q-a)
r01ds0034ej0200 rev.2.00 page 4 of 95 feb 07, 2011 m16c/6c group 1. overview 1.3 product list table 1.3 lists product list. figure 1.1 shows part no., with memory size and package, and figure 1.2 shows marking diagram (top view). table 1.3 product list as of december 2010 part no. rom capacity ram capacity package code remarks program rom 1 program rom 2 data flash r5f36camnfa 512kb 16kb 4kb 2 blocks 31kb prqp0100jd-b operating temperature -20c to 85c r5f36camnfb plqp0100kb-a r5f36camdfa prqp0100jd-b operating temperature -40c to 85c r5f36camdfb plqp0100kb-a r5f36caknfa 384kb 16kb 4kb 2 blocks 31kb prqp0100jd-b operating temperature -20c to 85c r5f36caknfb plqp0100kb-a R5F36CAKDFA prqp0100jd-b operating temperature -40c to 85c r5f36cakdfb plqp0100kb-a r5f36caenfa 256kb 16kb 4kb 2 blocks 20kb prqp0100jd-b operating temperature -20c to 85c r5f36caenfb plqp0100kb-a r5f36caedfa prqp0100jd-b operating temperature -40c to 85c r5f36caedfb plqp0100kb-a r5f36ca6nfa 128kb 16kb 4kb 2 blocks 12kb prqp0100jd-b operating temperature -20c to 85c r5f36ca6nfb plqp0100kb-a r5f36ca6dfa prqp0100jd-b operating temperature -40c to 85c r5f36ca6dfb plqp0100kb-a (d): under development (p): planning previous package codes are as follows: prqp0100jd-b: 100p6f-a plqp0100kb-a: 100p6q-a
r01ds0034ej0200 rev.2.00 page 5 of 95 feb 07, 2011 m16c/6c group 1. overview figure 1.1 part no., with memory size and package figure 1.2 marking diagram (top view) package type d: operating temperature: -40 c to 85 c n: operating temperature: -20 c to 85 c memory type renesas mcu renesas semiconductor m16c/6c group memory capacity 16-bit mcu part no. fa: package prqp0100jd-b (100p6f-a) fb: package plqp0100kb-a (100p6q-a) fb d m 6ca 3 f 5 r property code program rom 1/ram m: 512 kb/31 kb k: 384 kb/31kb e: 256 kb/20 kb 6: 128 kb/12 kb f: flash memory m 1 6 c r 5 f 3 6 c a m d f b x x x x x x x type no. running no. 0 to 9, a to z (except for i, o, q) week code (from 01 to 54) last one digit of year (see figure 1.1 ?part no., wit h memory size and package?)
r01ds0034ej0200 rev.2.00 page 6 of 95 feb 07, 2011 m16c/6c group 1. overview 1.4 block diagram figure 1.3 shows block diagram. figure 1.3 block diagram dmac (4 channels) internal peripheral functions uart or clock synchronous serial i/o (6 channels) system clock generator xin-xout xcin-xcout pll frequency synthesizer on-chip oscillator (125 khz) high-speed on-c hip oscillator notes: 1. rom size depends on mcu type. 2. ram size depends on mcu type. 8 8 8 8 8 8 port p5 port p4 port p3 port p2 port p1 port p0 vcc2 ports m16c/60 series cpu core r1h r1l r0h r0l r3 r2 a0 a1 fb multiplier rom (1) memory ram (2) sb isp usp intb pc flg crc calculator (ccitt or crc-16) three-phase motor control circuit 8 8 8 port p7 port p8 port p9 port p10 8 port p6 8 timer (16 bit) outputs (timer a): 5 inputs (timer b): 6 vcc1 ports real-time clock watchdog timer (15 bit) a/d converter (10-bit resolution x 26 channels, 2 circuits) d/a converter (8-bit resolution x 2 circuits) multi-master i 2 c-bus interface (1 channel) on-chip debugger usb module (usb 2.0 full speed) timer s input capture output compare time measurement function: 8 channels clock generation function: 8 channels usb fifo (584 bytes) voltage detector power-on reset
r01ds0034ej0200 rev.2.00 page 7 of 95 feb 07, 2011 m16c/6c group 1. overview 1.5 pin assignment figure 1.4 and figure 1.5 show pin assignme nt. table 1.4 and table 1.5 list pin names. figure 1.4 pin assignment 56 55 54 53 52 51 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 p0_0/an0_0/d0 p0_1/an0_1/d1 p0_2/an0_2/d2 p0_3/an0_3/d3 p0_4/an0_4/d4 p0_5/an0_5/d5 p0_6/an0_6/d6 p0_7/an0_7/d7 vref avss vcc1 xin xout vss reset cnvss p8_7/xcin p8_6/xcout uvcc p7_4/ta2out/w avcc p10_0/an0 p10_1/an1 p10_2/an2 p10_3/an3 p9_3/da0/tb3i n/cts3/rts3 p9_4/da1/tb4i n/cts4/rts4 p9_5/anex0/clk4 p9_6/anex1/txd4/sda4 p9_1/tb1in/rxd3/scl3/d+ p9_2/tb2in/txd3/sda3/attach p7_2/clk2/ta1out/v p8_2/int0 p7_1/rxd2/scl2/sclmm/ta0in/tb5in (1) p8_3/int1 p8_5/nmi/sd/vbusdtct (1) p9_7/adtrg/rxd4/scl4 p9_0/tb0in/clk3/d- p7_0/txd2/sda2/sdamm/ta0out (1) p8_4/int2/zp p7_3/cts2/rts2/ta1in/v p7_5/ta2in/w p10_7/an7/ki3 p10_6/an6/ki2 p10_5/an5/ki1 p10_4/an4/ki0 p5_6/ale p5_5/hold p5_4/hlda p5_3/bclk p5_2/rd p5_7/rdy/clkout p6_3/txd0/sda0 p6_5/clk1 p6_6/rxd1/scl1 p6_7/txd1/sda1 p6_1/clk0 p6_2/rxd0/scl0 p6_0/rtcout/cts0/rts0 p6_4/cts1/rts1/cts0/clks1 p5_0/wr p5_1/bhe p1_4 p3_1/a9 p3_2/a10 p3_3/a11 p3_4/a12 p3_5/a13 p3_6/a14 p3_7/a15 p4_0/a16 p4_1/a17 p4_2/a18 p4_3/a19 vcc2 vss p7_6/ta3out/txd5/sda5 p7_7/ta3in/clk5 p8_0/ta4out/u/tsuda/rxd5/scl5 p8_1/ta4in/u/tsudb/cts5/rts5 p1_0 p1_1 p1_2 p1_3 p4_5/cs1 p4_4/cs0 m16c/6c group prqp0100jd-b (100p6f-a) (top view) p3_0/a8 p2_0/an2_0/a0, [a0/d0]/outc1_0/inpc1_0 p2_1/an2_1/a1, [a1/d1]/outc1_1/inpc1_1 p2_2/an2_2/a2, [a2/d2]/outc1_2/inpc1_2 p2_3/an2_3/a3, [a3/d3]/outc1_3/inpc1_3 p2_4/int6/an2_4/a4, [a4/d4]/outc1_4/inpc1_4 p2_5/int7/an2_5/a5, [a5/d5]/outc1_5/inpc1_5 p2_7/an2_7/a7, [a7/d7]/outc1_7/inpc1_7 p2_6/an2_6/a6, [a6/d6]/outc1_6/inpc1_6 p1_5/int3/idv p1_6/int4/idw p1_7/int5/idu p4_6/cs2 p4_7/cs3 vcc1 notes: 1. n-channel open drain output. 2. check the position of pin 1 by referring to appendix 1, package dimensions. 3. pin names in brackets [ ] r epresent a single functional signal. they should not be considered as two separate functional signals. (see note 3) vcc2
r01ds0034ej0200 rev.2.00 page 8 of 95 feb 07, 2011 m16c/6c group 1. overview figure 1.5 pin assignment p0_0/an0_0/d0 p0_1/an0_1/d1 p0_2/an0_2/d2 p0_3/an0_3/d3 p0_4/an0_4/d4 p0_5/an0_5/d5 p0_6/an0_6/d6 p0_7/an0_7/d7 p1_0 p1_1 p1_2 vref avss avcc p10_0/an0 p10_1/an1 p10_2/an2 p10_3/an3 p9_5/anex0/clk4 p9_6/anex1/txd4/sda4 p9_7/adtrg/rxd4/scl4 p10_7/an7/ki3 p10_6/an6/ki2 p10_5/an5/ki1 p10_4/an4/ki0 m16c/6c group plqp0100kb-a (100p6q-a) (top view) p1_3 p1_4 p3_1/a9 p3_2/a10 p3_3/a11 p3_4/a12 p3_5/a13 p3_6/a14 p3_7/a15 p4_0/a16 p4_1/a17 vcc2 vss p4_2/a18 p4_3/a19 p5_6/ale p5_5/hold p5_4/hlda p5_3/bclk p5_2/rd p5_7/rdy/clkout p6_3/txd0/sda0 p6_5/clk1 p6_6/rxd1/scl1 p6_7/txd1/sda1 p6_1/clk0 p6_2/rxd0/scl0 p6_0/rtcout/cts0/rts0 p6_4/cts1/rts1/cts0/clks1 p5_0/wr p5_1/bhe p7_2/clk2/ta1out/v p7_1/rxd2/scl2/sclmm/ta0in/tb5in (1) p7_0/txd2/sda2/sdamm/ta0out (1) vcc1 xin xout vss reset cnvss p8_7/xcin p8_6/xcout uvcc p7_4/ta2out/w p9_3/da0/tb3in/cts3/rts3 p9_4/da1/tb4in/cts4/rts4 p9_1/tb1in/rxd3/scl3/d+ p9_2/tb2in/txd3/sda3/attach p8_2/int0 p8_3/int1 p8_5/nmi/sd/vbusdtct (1) p9_0/tb0in/clk3/d- p8_4/int2/zp p7_5/ta2in/w p7_3/cts2/rts2/ta1in/v p7_6/ta3out/txd5/sda5 p7_7/ta3in/clk5 p8_0/ta4out/u/tsuda/rxd5/scl5 p8_1/ta4in/u/tsudb/cts5/rts5 p4_5/cs1 p4_4/cs0 p3_0/a8 p2_0/an2_0/a0, [a0/d0]/outc1_0/inpc1_0 p2_1/an2_1/a1, [a1/d1]/outc1_1/inpc1_1 p2_2/an2_2/a2, [a2/d2]/outc1_2/inpc1_2 p2_3/an2_3/a3, [a3/d3]/outc1_3/inpc1_3 p2_4/int6/an2_4/a4, [a4/d4]/outc1_4/inpc1_4 p2_5/int7/an2_5/a5, [a5/d5]/outc1_5/inpc1_5 p2_6/an2_6/a6, [a6/d6]/outc1_6/inpc1_6 p2_7/an2_7/a7, [a7/d7]/outc1_7/inpc1_7 p1_5/int3/idv p1_6/int4/idw p1_7/int5/idu p4_6/cs2 p4_7/cs3 vcc1 notes: 1. n-channel open drain output. 2. check the position of pin 1 by referring to appendix 1, package dimensions. 3. pin names in brackets [ ] represent a single functional signal. they should not be considered as two separate functional signals. (see note 3) vcc2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 56 55 54 53 52 51 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76
r01ds0034ej0200 rev.2.00 page 9 of 95 feb 07, 2011 m16c/6c group 1. overview table 1.4 pin names (1/2) pin no. control pin port i/o pin for peripheral function bus control pin fa fb interrupt timer serial interface, usb a/d converter, d/a converter 1 99 p9_6 txd4/sda4 anex1 2 100 p9_5 clk4 anex0 31 p9_4 tb4in cts4 / rts4 da1 42 p9_3 tb3in cts3 / rts3 da0 5 3 p9_2 tb2in txd3/sda3/attach 6 4 p9_1 tb1in rxd3/scl3/d+ 7 5 p9_0 tb0in clk3/d- 8 6 uvcc 9 7 cnvss 10 8 xcin p8_7 11 9 xcout p8_6 12 10 reset 13 11 xout 14 12 vss 15 13 xin 16 14 vcc1 17 15 p8_5 nmi sd vbusdtct 18 16 p8_4 int2 zp 19 17 p8_3 int1 20 18 p8_2 int0 21 19 p8_1 ta4in/ u/ tsudb cts5 / rts5 22 20 p8_0 ta4out/u/tsuda rxd5/scl5 23 21 p7_7 ta3in clk5 24 22 p7_6 ta3out txd5/sda5 25 23 p7_5 ta2in/ w 26 24 p7_4 ta2out/w 27 25 p7_3 ta1in/ vc t s 2 / rts2 28 26 p7_2 ta1out/v clk2 29 27 p7_1 ta0in/tb5in rxd2/scl2/sclmm 30 28 p7_0 ta0out txd2/sda2/sdamm 31 29 p6_7 txd1/sda1 32 30 p6_6 rxd1/scl1 33 31 p6_5 clk1 34 32 p6_4 cts1 / rts1 / cts0 / clks1 35 33 p6_3 txd0/sda0 36 34 p6_2 rxd0/scl0 37 35 p6_1 clk0 38 36 p6_0 rtcout cts0 / rts0 39 37 p5_7 rdy/clkout 40 38 p5_6 ale 41 39 p5_5 hold 42 40 p5_4 hlda 43 41 p5_3 bclk 44 42 p5_2 rd 45 43 p5_1 bhe 46 44 p5_0 wr 47 45 p4_7 cs3 48 46 p4_6 cs2 49 47 p4_5 cs1 50 48 p4_4 cs0
r01ds0034ej0200 rev.2.00 page 10 of 95 feb 07, 2011 m16c/6c group 1. overview table 1.5 pin names (2/2) pin no. control pin port i/o pin for peripheral function bus control pin fa fb interrupt timer serial interface, usb a/d converter, d/a converter 51 49 p4_3 a19 52 50 p4_2 a18 53 51 p4_1 a17 54 52 p4_0 a16 55 53 p3_7 a15 56 54 p3_6 a14 57 55 p3_5 a13 58 56 p3_4 a12 59 57 p3_3 a11 60 58 p3_2 a10 61 59 p3_1 a9 62 60 vcc2 63 61 p3_0 a8 64 62 vss 65 63 p2_7 outc1_7/inpc1_7 an2_7 a7, [a7/d7] 66 64 p2_6 outc1_6/inpc1_6 an2_6 a6, [a6/d6] 67 65 p2_5 int7 outc1_5/inpc1_5 an2_5 a5, [a5/d5] 68 66 p2_4 int6 outc1_4/inpc1_4 an2_4 a4, [a4/d4] 69 67 p2_3 outc1_3/inpc1_3 an2_3 a3, [a3/d3] 70 68 p2_2 outc1_2/inpc1_2 an2_2 a2, [a2/d2] 71 69 p2_1 outc1_1/inpc1_1 an2_1 a1, [a1/d1] 72 70 p2_0 outc1_0/inpc1_0 an2_0 a0, [a0/d0] 73 71 p1_7 int5 idu 74 72 p1_6 int4 idw 75 73 p1_5 int3 idv 76 74 p1_4 77 75 p1_3 78 76 p1_2 79 77 p1_1 80 78 p1_0 81 79 p0_7 an0_7 d7 82 80 p0_6 an0_6 d6 83 81 p0_5 an0_5 d5 84 82 p0_4 an0_4 d4 85 83 p0_3 an0_3 d3 86 84 p0_2 an0_2 d2 87 85 p0_1 an0_1 d1 88 86 p0_0 an0_0 d0 89 87 p10_7 ki3 an7 90 88 p10_6 ki2 an6 91 89 p10_5 ki1 an5 92 90 p10_4 ki0 an4 93 91 p10_3 an3 94 92 p10_2 an2 95 93 p10_1 an1 96 94 avss 97 95 p10_0 an0 98 96 vref 99 97 avcc 100 98 p9_7 rxd4/scl4 adtrg
r01ds0034ej0200 rev.2.00 page 11 of 95 feb 07, 2011 m16c/6c group 1. overview 1.6 pin functions power supply: vcc2 is used to supply power to the external bus associated pins. the dual power supply configuration allows vcc2 to interface at a different voltage than vcc1. note: 1. vcc means vcc1 unless otherwise noted. table 1.6 pin functions (1/3) signal name pin name i/o power supply description power supply input vcc1, vcc2, vss i- apply 2.7 to 5.5 v to pins vcc1 and vcc2 (vcc1 vcc2). input 0 v to vss. (1) analog power supply input avcc, avss i vcc1 this is the power supply for the a/d converter. connect the avcc pin to vcc1, and connect the avss pin to vss. reset input reset i vcc1 driving this pin low resets the mcu. cnvss cnvss i vcc1 input pin to switch processor modes. connect the cnvss pin to vss via a resistor. bus control pins d0 to d7 i/o vcc2 inputs or outputs data (d0 to d7) while accessing an external area with a separate bus. a0 to a19 o vcc2 outputs address bits a0 to a19. a0/d0 to a7/d7 i/o vcc2 inputs or outputs data (d0 to d7) and outputs address bits (a0 to a7) by timesharing, while accessing an external area with an 8-bit multiplexed bus. cs0 to cs3 o vcc2 outputs chip-select signals cs0 to cs3 to specify an external area. wr bhe rd o vcc2 outputs wr , bhe , and rd signals. ? data is written to an external area when wr is driven low. data in an external area is read when rd is driven low. an odd address is accessed when bhe is driven low. ale o vcc2 outputs an ale signal to latch the address. hold i vcc2 hold input is unavailable. connect the hold pin to vcc2 via a resistor (pull-up). hlda o vcc2 in a hold state, hlda outputs a low-level signal. rdy i vcc2 the mcu bus is placed in a wait state while the rdy pin is driven low.
r01ds0034ej0200 rev.2.00 page 12 of 95 feb 07, 2011 m16c/6c group 1. overview notes: 1. contact the manufacturer of crystal/ceramic reso nator regarding the oscillation characteristics. 2. txd2, sda2, and scl2 are n-channel open drain output pins. txdi, sdai, and scli can be selected as cmos output pins or n-channel open drain output pins. (i = 0, 1, 3 to 5) table 1.7 pin functions (2/3) signal name pin name i/o power supply description main clock input xin i vcc1 i/o for the main clock oscillator. connect a ceramic resonator or crystal between pins xin and xout. (1) input an external clock to xin pin and leave xout pin open. main clock output xout o vcc1 sub clock input xcin i vcc1 i/o for a sub clock oscillator. connect a crystal between xcin pin and xcout pin. (1) input an external clock to xcin pin and leave xcout pin open. sub clock output xcout o vcc1 bclk output bclk o vcc2 outputs the bclk signal. clock output clkout o vcc2 outputs a clock with the same frequency as fc, f1, f8, or f32. int interrupt input int0 to int2 i vcc1 input for the int interrupt. int3 to int7 i vcc2 nmi interrupt input nmi i vcc1 input for the nmi interrupt. key input interrupt input ki0 to ki3 i vcc1 input for the key input interrupt. timer a ta0out to ta4out i/o vcc1 i/o for timers a0 to a4 (ta0out is n-channel open drain output). ta0in to ta4in i vcc1 input for timers a0 to a4. zp i vcc1 input for z-phase. timer b tb0in to tb5in i vcc1 input for timers b0 to b5. three-phase motor control timer u, u , v, v , w, w o vcc1 output for the three-phase motor control timer. sd i vcc1 forced cutoff input. idu, idv, idw i vcc2 input for the position data. real-time clock output rtcout o vcc1 output for the real-time clock. timer s inpc1_0 to inpc1_7 i vcc2 input for the time measurement function. outc1_0 to outc1_7 o vcc2 output for the waveform generation function. tsuda, tsudb i vcc1 input for two-phase pulse. serial interface uart0 to uart5 cts0 to cts5 i vcc1 input pins to control data transmission. rts0 to rts5 o vcc1 output pins to control data reception. clk0 to clk5 i/o vcc1 transmit/receive clock i/o. rxd0 to rxd5 i vcc1 serial data input. txd0 to txd5 o vcc1 serial data output. (2) clks1 o vcc1 output for the transmit/receive clock multiple-pin output function. uart0 to uart5 i 2 c mode sda0 to sda5 i/o vcc1 serial data i/o. (2) scl0 to scl5 i/o vcc1 transmit/receive clock i/o. (2)
r01ds0034ej0200 rev.2.00 page 13 of 95 feb 07, 2011 m16c/6c group 1. overview table 1.8 pin functions (3/3) signal name pin name i/o power supply description multi-master i 2 c-bus interface sdamm i/o vcc1 serial data i/o (n-channel open drain output). sclmm i/o vcc1 transmit/receive clock i/o (n-channel open drain output). usb module attach o uvcc output used for d+ 1.5 k pull-up vbusdtct i uvcc input the power supply signal from a host pc uvcc i/o input power supply for pins attach, d+, and d- d+ i/o uvcc usb d+ input/output d- i/o uvcc usb d- input/output reference voltage input vref i vcc1 reference voltage input for the a/d and d/a converters. a/d converter an0 to an7 i vcc1 analog input. an0_0 to an0_7 an2_0 to an2_7 i vcc2 adtrg i vcc1 external trigger input. anex0, anex1 i vcc1 extended analog input. d/a converter da0, da1 o vcc1 output for the d/a converter. i/o ports p0_0 to p0_7 p1_0 to p1_7 p2_0 to p2_7 p3_0 to p3_7 p4_0 to p4_7 p5_0 to p5_7 i/o vcc2 8-bit cmos i/o ports. a direction register determines whether each pin is used as an input port or an output port. a pull-up resistor may be enabled or disabled for input ports in 4-bit units. p6_0 to p6_7 p7_0 to p7_7 p8_0 to p8_7 p9_0 to p9_7 p10_0 to p10_7 i/o vcc1 8-bit i/o ports having equivalent functions to p0. however, p7_0, p7_1, and p8_5 are n-channel open drain output ports. no pull-up resistor is provided. p8_5 is an input port for verifying the nmi pin level and shares a pin with nmi .
r01ds0034ej0200 rev.2.00 page 14 of 95 feb 07, 2011 m16c/6c group 2. central processing unit (cpu) 2. central processi ng unit (cpu) figure 2.1 shows the cpu registers. seven registers (r0, r1, r2, r3, a0, a1, and fb) out of 13 compose a register bank, and there are two register banks. figure 2.1 cpu registers r0h (upper bits of r0) b15 b8 b7 b0 r3 intbh usp isp sb note: 1. these registers compose a register bank. there are two register banks. cdzsboiu ipl r2 b31 r3 r2 a1 a0 fb b19 intbl b15 b0 pc intbh is the 4 upper bits of the intb register and intbl is the 16 lower bits. b19 b0 b15 b0 flg b15 b0 b15 b0 b7 b8 data registers (1) address registers (1) frame base registers (1) program counter interrupt table register user stack pointer interrupt stack pointer static base register flag register reserved area carry flag debug flag zero flag sign flag register bank select flag overflow flag interrupt enable flag stack pointer select flag reserved area processor interrupt priority level r1h (upper bits of r1) r0l (lower bits of r0) r1l (lower bits of r1)
r01ds0034ej0200 rev.2.00 page 15 of 95 feb 07, 2011 m16c/6c group 2. central processing unit (cpu) 2.1 data registers (r 0, r1, r2, and r3) r0, r1, r2, and r3 are 16-bit registers used for transf er, arithmetic, and logic operations. r0 and r1 can be split into upper (r0h/r1h) and lower (r0l/r1l) bits to be used separately as 8-bit data registers. r0 can be combined with r2, and r3 can be combined with r1 and be used as 32-bit data registers r2r0 and r3r1, respectively. 2.2 address registers (a0 and a1) a0 and a1 are 16-bit registers used for indirect addre ssing, relative addressing, transfer, arithmetic, and logic operations. a0 can be combined with a1 and used as a 32-bit address register (a1a0). 2.3 frame base register (fb) fb is a 16-bit register that is used for fb relative addressing. 2.4 interrupt table register (intb) intb is a 20-bit register that indicates the star t address of a relocatable interrupt vector table. 2.5 program counter (pc) the pc is 20 bits wide and indicates the add ress of the next instruction to be executed. 2.6 user stack pointer (usp) and interrupt stack pointer (isp) the usp and isp stack pointers (sp) are each comprised of 16 bits. the u flag is used to switch between usp and isp. 2.7 static base register (sb) sb is a 16-bit register used for sb relative addressing. 2.8 flag register (flg) flg is an 11-bit register that indicates the cpu state. 2.8.1 carry flag (c flag) the c flag retains a carry, borrow, or shift-out bit generated by the arithmetic/logic unit. 2.8.2 debug flag (d flag) the d flag is for debugging only. set it to 0. 2.8.3 zero flag (z flag) the z flag becomes 1 when an arithmetic opera tion results in 0. ot herwise, it becomes 0. 2.8.4 sign flag (s flag) the s flag becomes 1 when an arithmetic operation re sults in a negative val ue. otherwise, it becomes 0. 2.8.5 register bank se lect flag (b flag) register bank 0 is selected when the b flag is 0. register bank 1 is selected when this flag is 1. 2.8.6 overflow flag (o flag) the o flag becomes 1 when an arithmetic operation re sults in an overflow. otherwise, it becomes 0.
r01ds0034ej0200 rev.2.00 page 16 of 95 feb 07, 2011 m16c/6c group 2. central processing unit (cpu) 2.8.7 interrupt enable flag (i flag) the i flag enables maskable interrupts. maskable interrupts are disabled when the i flag is 0, and enabled when it is 1. the i flag becomes 0 when an interrupt request is accepted. 2.8.8 stack pointer select flag (u flag) isp is selected when the u flag is 0. usp is selected when the u flag is 1. the u flag becomes 0 when a hardware interrupt reques t is accepted, or the int instruction of software interrupt number 0 to 31 is executed. 2.8.9 processor interrupt priority level (ipl) ipl is 3 bits wide and assigns processor interrupt priority levels from 0 to 7. if a requested interrupt has higher priority than ipl, the interrupt request is enabled. 2.8.10 reserved areas only set these bits to 0. the read value is undefined.
r01ds0034ej0200 rev.2.00 page 17 of 95 feb 07, 2011 m16c/6c group 3. address space 3. address space 3.1 address space the m16c/6c group has a 1 mb address space from 00000h to fffffh. figure 3.1 shows the address space. areas that can be accessed vary depending on processor mode and the status of each control bit. figure 3.1 address space 00000h 0d000h 00400h 0d800h 0e000h 10000h 14000h fffffh 28000h 27000h 04000h internal ram is allocated from address 00400h higher. program rom 1 is allocated from address fffffh lower. when data flash is enabled when program rom 2 is enabled memory expansion mode notes: 1. do not access reserved areas. 2. the figure above applies under the following condition: - the pm13 bit in the pm1 register is 0 (addresses 04000h to 0cfffh and 80000h to cffffh are used as external areas). d0000h sfr internal ram reserved area external area sfr external area internal rom (data flash) internal rom (program rom 2) external area reserved area external area reserved area internal rom (program rom 1) 1 mb address space
r01ds0034ej0200 rev.2.00 page 18 of 95 feb 07, 2011 m16c/6c group 3. address space 3.2 memory map special function registers (sfrs) are allocated from address 00000h to 003ffh and from 0d000h to 0d7ffh. peripheral function control registers are loca ted here. all blank areas within sfrs are reserved. do not access these areas. internal ram is allocated from address 00400h and hi gher, with 10 kb of internal ram allocated from 00400h to 02bffh. internal ram is used not only for data storage, but also for the stack area when subroutines are called or when an interrupt request is accepted. the internal rom is flash memory. three internal rom areas are available: data flash, program rom 1, and program rom 2. the data flash is allocated from 0e000h to 0ffffh. this data flash area is mostly used for data storage, but can also store programs. program rom 2 is allocated from 10000h to 13fffh. program rom 1 is allocated from fffffh and lower, with the 64-kb program rom 1 area allocated from address f0000h to fffffh. the special page vectors are allocated from ffe00h to fffd7h. they are used for the jmps and jsrs instructions. refer to the m16c /60, m16c/20, m16c/tiny series software manual for details. the fixed vector table for interrupts is allocated from fffdch to fffffh. the 256 bytes beginning with the start address set in th e intb register compose the relocatable vector table for interrupts. figure 3.2 shows the memory map. figure 3.2 memory map notes: 1. do not access reserved areas. 2. the figure above applies under the following conditions: - memory expansion mode - the pm10 bit in the pm1 register is 1 (addresses 0e000h to 0ffffh are used as data flash) - the prg2c0 bit in the prg2c register is 0 (program rom 2 enabled) - the pm13 bit in the pm1 register is 1 (all areas in internal ram, and the program rom 1 area from 80000h are usable) 3. do not change the data from ffh. 00000h xxxxxh 0d000h 00400h 0d800h 0e000h 10000h 14000h 80000h yyyyyh fffffh 28000h 27000h fffffh fffdch ffe00h fffd8h 13fffh 13ff0h 13000h internal ram size 12 kb 20 kb 31 kb address xxxxxh 033ffh 053ffh 07fffh program rom 1 size 128 kb 256 kb 384 kb address yyyyyh e0000h c0000h a0000h 512 kb 80000h on-chip debugger monitor area user boot code area relocatable vector table 256 bytes beginning with the start address set in the intb register special page vector table reserved area (3) fixed vector table address for id code stored ofs1 address sfr internal ram reserved area (1) sfr external area internal rom (data flash) internal rom (program rom 2) external area reserved area (1) external area reserved area (1) internal rom (program rom 1)
r01ds0034ej0200 rev.2.00 page 19 of 95 feb 07, 2011 m16c/6c group 3. address space 3.3 accessible area in each mode areas that can be accessed vary depending on processor mode and the status of each control bit. figure 3.3 shows the accessible area in each mode. in single-chip mode, the sfrs, internal ram, and internal rom can be accessed. in memory expansion mode, the sfrs, internal ram, internal rom, and external areas can be accessed. in microprocessor mode, the sfrs, internal ram, and external areas can be accessed. allocate rom to the fixed vector table from fffdch to fffffh. figure 3.3 accessible area in each mode notes: 1. do not access reserved areas. 2. the figure above applies under the following conditions: single-chip mode and memory expansion mode - the pm10 bit in the pm1 register is 1 (addresses 0e000h to 0ffffh are used as data flash) - the prg2c0 bit in the prg2c register is 0 (program rom 2 enabled) - the pm13 bit in the pm1 register is 1 (all areas in internal ram, and the program rom 1 area from 80000h are usable)re usable). microprocessor mode - the pm10 bit is 0 (addresses 0e000h to 0ffffh are used as the cs2 area). - the prg2c0 bit is 1 (program rom 2 disabled). 00000h 0d000h 00400h 0d800h 0e000h 10000h 14000h fffffh 28000h 27000h 80000h 00000h 0d000h 00400h 0d800h 0e000h 10000h 14000h fffffh single-chip mode memory expansion mode 00000h 0d000h 00400h 0d800h fffffh 28000h 27000h microprocessor mode sfr internal ram reserved area sfr reserved area internal rom (data flash) internal rom (program rom 2) reserved area internal rom (program rom 1) sfr internal ram reserved area sfr external area internal rom (data flash) internal rom (program rom 2) external or reserved area internal rom (program rom 1) external area reserved area external area sfr internal ram reserved area sfr external area reserved area external area
r01ds0034ej0200 rev.2.00 page 20 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) 4. special function registers (sfrs) 4.1 sfrs an sfr is a control register for a peripheral function. notes: 1. the blank areas are reserved. no access is allowed. 2. software reset, watchdog timer reset, oscillator stop detect reset, voltage monitor 1 reset, and voltage monitor 2 reset do not affect the following bits: bits pm01 and pm00 in the pm0 register. 3. oscillator stop detect reset does not affect bits cm20, cm21, and cm27. 4. the state of bits in the rstfr register depends on the reset type. 5. this is the reset value after hardware reset. refer to the explanation of each register for details. table 4.1 sfr information (1) (1) address register symbol reset value 0000h 0001h 0002h 0003h 0004h processor mode register 0 pm0 0000 0000b (2) 0005h processor mode register 1 pm1 0000 1000b 0006h system clock control register 0 cm0 0100 1000b 0007h system clock control register 1 cm1 0010 0000b 0008h chip select control register csr 01h 0009h 000ah protect register prcr 00h 000bh 000ch oscillation stop detection register cm2 0x00 0010b (3) 000dh 000eh 000fh 0010h program 2 area control register prg2c xxxx xx00b 0011h 0012h peripheral clock select register pclkr 0000 0011b 0013h 0014h 0015h clock prescaler reset flag cpsrf 0xxx xxxxb 0016h 0017h 0018h reset source determine register rstfr xx00 001xb (hardware reset) (4) 0019h voltage detector 2 flag register vcr1 0000 1000b (5) 001ah voltage detector operation enable register vcr2 00h (5) 001bh chip select expansion control register cse 00h 001ch pll control register 0 plc0 0001 x010b 001dh pllfck control register plcf 00h 001eh processor mode register 2 pm2 xx00 0x01b 001fh x: undefined
r01ds0034ej0200 rev.2.00 page 21 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) notes: 1. the blank areas are reserved. no access is allowed. 2. this is the reset value after hardware reset. refer to the explanation of each register for details. table 4.2 sfr information (2) (1) address register symbol reset value 0020h 0021h 0022h 40 mhz on-chip oscillator co ntrol register 0 fra0 xxxx xx00b 0023h 0024h 0025h 0026h voltage monitor function select register vwce 00h 0027h 0028h 0029h 002ah voltage monitor 0 control register vw0c 1000 xx10b (2) 002bh voltage monitor 1 control register vw1c 1000 1010b (2) 002ch voltage monitor 2 control register vw2c 1000 0x10b (2) 002dh 002eh 002fh 0030h 0031h 0032h 0033h 0034h 0035h 0036h 0037h 0038h 0039h 003ah 003bh 003ch 003dh 003eh 003fh x: undefined
r01ds0034ej0200 rev.2.00 page 22 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) note: 1. the blank areas are reserved. no access is allowed. table 4.3 sfr information (3) (1) address register symbol reset value 0040h 0041h 0042h int7 interrupt control register int7ic xx00 x000b 0043h int6 interrupt control register int6ic xx00 x000b 0044h int3 interrupt control register int3ic xx00 x000b 0045h timer b5 interrupt control register tb5ic xxxx x000b 0046h timer b4 interrupt control register uart1 bus collision detection interrupt control register tb4ic u1bcnic xxxx x000b 0047h timer b3 interrupt control register uart0 bus collision detection interrupt control register tb3ic u0bcnic xxxx x000b 0048h int5 interrupt control register int5ic xx00 x000b 0049h int4 interrupt control register int4ic xx00 x000b 004ah uart2 bus collision detection interrupt control register bcnic xxxx x000b 004bh dma0 interrupt control register dm0ic xxxx x000b 004ch dma1 interrupt control register dm1ic xxxx x000b 004dh key input interrupt control register a/d conversion (a/d1) interrupt control register kupic adeic xxxx x000b 004eh a/d conversion (a/d0) interrupt control register adic xxxx x000b 004fh uart2 transmit interrupt control register s2tic xxxx x000b 0050h uart2 receive interrupt control register s2ric xxxx x000b 0051h uart0 transmit interrupt control register s0tic xxxx x000b 0052h uart0 receive interrupt control register s0ric xxxx x000b 0053h uart1 transmit interrupt control register s1tic xxxx x000b 0054h uart1 receive interrupt control register s1ric xxxx x000b 0055h timer a0 interrupt control register ta0ic xxxx x000b 0056h timer a1 interrupt control register ta1ic xxxx x000b 0057h timer a2 interrupt control register ta2ic xxxx x000b 0058h timer a3 interrupt control register ta3ic xxxx x000b 0059h timer a4 interrupt control register ta4ic xxxx x000b 005ah timer b0 interrupt control register tb0ic xxxx x000b 005bh timer b1 interrupt control register tb1ic xxxx x000b 005ch timer b2 interrupt control register tb2ic xxxx x000b 005dh int0 interrupt control register int0ic xx00 x000b 005eh int1 interrupt control register int1ic xx00 x000b 005fh int2 interrupt control register int2ic xx00 x000b x: undefined
r01ds0034ej0200 rev.2.00 page 23 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) note: 1. the blank areas are reserved. no access is allowed. table 4.4 sfr information (4) (1) address register symbol reset value 0060h 0061h 0062h 0063h 0064h 0065h 0066h 0067h 0068h 0069h dma2 interrupt control register dm2ic xxxx x000b 006ah dma3 interrupt control register dm3ic xxxx x000b 006bh uart5 bus collision detection interrupt control register u5bcnic xxxx x000b 006ch uart5 transmit interrupt control register s5tic xxxx x000b 006dh uart5 receive interrupt control register s5ric xxxx x000b 006eh uart4 bus collision detection interrupt control register real-time clock periodic interrupt control register u4bcnic rtctic xxxx x000b 006fh uart4 transmit interrupt control register real-time clock compare interrupt control register s4tic rtccic xxxx x000b 0070h uart4 receive interrupt control register s4ric xxxx x000b 0071h uart3 bus collision detection interrupt control register u3bcnic xxxx x000b 0072h uart3 transmit interrupt control register s3tic xxxx x000b 0073h uart3 receive interrupt control register s3ric xxxx x000b 0074h 0075h 0076h usb interrupt 0 control register usbint0ic xxxx x000b 0077h usb interrupt 1 control register usbint1ic xxxx x000b 0078h usb resume interrupt control register usbrsmic xxxx x000b 0079h ic/oc interrupt 0 control register icoc0ic xxxx x000b 007ah ic/oc channel 0 interrupt control register icoch0ic xxxx x000b 007bh ic/oc interrupt 1 control register i2c-bus interface interrupt control register icoc1ic iicic xxxx x000b 007ch ic/oc channel 1 interrupt control register scl/sda interrupt control register icoch1ic scldaic xxxx x000b 007dh ic/oc channel 2 interrupt control register icoch2ic xxxx x000b 007eh ic/oc channel 3 interrupt control register icoch3ic xxxx x000b 007fh ic/oc base timer interrupt control register btic xxxx x000b 0080h to 012fh x: undefined
r01ds0034ej0200 rev.2.00 page 24 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) note: 1. the blank areas are reserved. no access is allowed. table 4.5 sfr information (5) (1) address register symbol reset value 0130h 0131h 0132h 0133h 0134h 0135h 0136h 0137h 0138h 0139h 013ah 013bh 013ch 013dh 013eh 013fh 0140h a/d1 register 0 ad10 xxxx xxxxb 0141h 0000 00xxb 0142h a/d1 register 1 ad11 xxxx xxxxb 0143h 0000 00xxb 0144h a/d1 register 2 ad12 xxxx xxxxb 0145h 0000 00xxb 0146h a/d1 register 3 ad13 xxxx xxxxb 0147h 0000 00xxb 0148h 0149h 014ah 014bh 014ch 014dh 014eh 014fh 0150h 0151h 0152h a/d1 trigger control register ad1trgcon xxxx 00xxb 0153h 0154h a/d1 control register 2 ad1con2 0000 x00xb 0155h 0156h a/d1 control register 0 ad1con0 0000 0xxxb 0157h a/d1 control register 1 ad1con1 0000 x000b 0158h 0159h 015ah 015bh 015ch 015dh 015eh 015fh 0160h to 017fh x: undefined
r01ds0034ej0200 rev.2.00 page 25 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) note: 1. the blank areas are reserved. no access is allowed. table 4.6 sfr information (6) (1) address register symbol reset value 0180h dma0 source pointer sar0 xxh 0181h xxh 0182h 0xh 0183h 0184h dma0 destination pointer dar0 xxh 0185h xxh 0186h 0xh 0187h 0188h dma0 transfer counter tcr0 xxh 0189h xxh 018ah 018bh 018ch dma0 control register dm0con 0000 0x00b 018dh 018eh 018fh 0190h dma1 source pointer sar1 xxh 0191h xxh 0192h 0xh 0193h 0194h dma1 destination pointer dar1 xxh 0195h xxh 0196h 0xh 0197h 0198h dma1 transfer counter tcr1 xxh 0199h xxh 019ah 019bh 019ch dma1 control register dm1con 0000 0x00b 019dh 019eh 019fh 01a0h dma2 source pointer sar2 xxh 01a1h xxh 01a2h 0xh 01a3h 01a4h dma2 destination pointer dar2 xxh 01a5h xxh 01a6h 0xh 01a7h 01a8h dma2 transfer counter tcr2 xxh 01a9h xxh 01aah 01abh 01ach dma2 control register dm2con 0000 0x00b 01adh 01aeh 01afh x: undefined
r01ds0034ej0200 rev.2.00 page 26 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) note: 1. the blank areas are reserved. no access is allowed. table 4.7 sfr information (7) (1) address register symbol reset value 01b0h dma3 source pointer sar3 xxh 01b1h xxh 01b2h 0xh 01b3h 01b4h dma3 destination pointer dar3 xxh 01b5h xxh 01b6h 0xh 01b7h 01b8h dma3 transfer counter tcr3 xxh 01b9h xxh 01bah 01bbh 01bch dma3 control register dm3con 0000 0x00b 01bdh 01beh 01bfh 01c0h timer b0-1 register tb01 xxh 01c1h xxh 01c2h timer b1-1 register tb11 xxh 01c3h xxh 01c4h timer b2-1 register tb21 xxh 01c5h xxh 01c6h pulse period/pulse width measurement mode function select register 1 ppwfs1 xxxx x000b 01c7h 01c8h timer b count source select register 0 tbcs0 00h 01c9h timer b count source select register 1 tbcs1 x0h 01cah 01cbh timer ab division control register 0 tckdivc0 0000 x000b 01cch 01cdh 01ceh 01cfh 01d0h timer a count source select register 0 tacs0 00h 01d1h timer a count source select register 1 tacs1 00h 01d2h timer a count source select register 2 tacs2 x0h 01d3h 01d4h 16-bit pulse width modulation mode func tion select register pwmfs 0xx0 x00xb 01d5h timer a waveform output function select register tapofs xxx0 0000b 01d6h 01d7h 01d8h timer a output waveform change enable register taow xxx0 x00xb 01d9h 01dah three-phase protect control register tprc 00h 01dbh 01dch 01ddh 01deh 01dfh x: undefined
r01ds0034ej0200 rev.2.00 page 27 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) note: 1. the blank areas are reserved. no access is allowed. table 4.8 sfr information (8) (1) address register symbol reset value 01e0h timer b3-1 register tb31 xxh 01e1h xxh 01e2h timer b4-1 register tb41 xxh 01e3h xxh 01e4h timer b5-1 register tb51 xxh 01e5h xxh 01e6h pulse period/pulse width measurement mode function select reg- ister 2 ppwfs2 xxxx x000b 01e7h 01e8h timer b count source select register 2 tbcs2 00h 01e9h timer b count source select register 3 tbcs3 x0h 01eah 01ebh 01ech 01edh 01eeh 01efh 01f0h 01f1h 01f2h 01f3h 01f4h 01f5h 01f6h 01f7h 01f8h 01f9h 01fah 01fbh 01fch 01fdh 01feh 01ffh 0200h 0201h 0202h 0203h 0204h 0205h interrupt source select register 3 ifsr3a 00h 0206h interrupt source select register 2 ifsr2a 00h 0207h interrupt source select register ifsr 00h 0208h 0209h 020ah 020bh 020ch 020dh 020eh address match interrupt enable register aier xxxx xx00b 020fh address match interrupt enab le register 2 aier2 xxxx xx00b x: undefined
r01ds0034ej0200 rev.2.00 page 28 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) note: 1. the blank areas are reserved. no access is allowed. table 4.9 sfr information (9) (1) address register symbol reset value 0210h address match interrupt register 0 rmad0 00h 0211h 00h 0212h x0h 0213h 0214h address match interrupt register 1 rmad1 00h 0215h 00h 0216h x0h 0217h 0218h address match interrupt register 2 rmad2 00h 0219h 00h 021ah x0h 021bh 021ch address match interrupt register 3 rmad3 00h 021dh 00h 021eh x0h 021fh 0220h flash memory control register 0 fmr0 0000 0001b (other than user boot mode) 0010 0001b (user boot mode) 0221h flash memory control register 1 fmr1 00x0 xx0xb 0222h flash memory control register 2 fmr2 xxxx 0000b 0223h 0224h 0225h 0226h 0227h 0228h 0229h 022ah 022bh 022ch 022dh 022eh 022fh 0230h flash memory control register 6 fmr6 xx0x xx00b 0231h 0232h 0233h 0234h 0235h 0236h 0237h 0238h 0239h 023ah 023bh 023ch 023dh 023eh 023fh x: undefined
r01ds0034ej0200 rev.2.00 page 29 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) note: 1. the blank areas are reserved. no access is allowed. table 4.10 sfr information (10) (1) address register symbol reset value 0240h 0241h 0242h 0243h 0244h uart0 special mode register 4 u0smr4 00h 0245h uart0 special mode register 3 u0smr3 000x 0x0xb 0246h uart0 special mode register 2 u0smr2 x000 0000b 0247h uart0 special mode register u0smr x000 0000b 0248h uart0 transmit/receive mode register u0mr 00h 0249h uart0 bit rate register u0brg xxh 024ah uart0 transmit buffer register u0tb xxh 024bh xxh 024ch uart0 transmit/receive control register 0 u0c0 0000 1000b 024dh uart0 transmit/receive control register 1 u0c1 00xx 0010b 024eh uart0 receive buffer register u0rb xxh 024fh xxh 0250h uart transmit/receive control register 2 ucon x000 0000b 0251h 0252h uart clock select register uclksel0 x0h 0253h 0254h uart1 special mode register 4 u1smr4 00h 0255h uart1 special mode register 3 u1smr3 000x 0x0xb 0256h uart1 special mode register 2 u1smr2 x000 0000b 0257h uart1 special mode register u1smr x000 0000b 0258h uart1 transmit/receive mode register u1mr 00h 0259h uart1 bit rate register u1brg xxh 025ah uart1 transmit buffer register u1tb xxh 025bh xxh 025ch uart1 transmit/receive control register 0 u1c0 0000 1000b 025dh uart1 transmit/receive control register 1 u1c1 00xx 0010b 025eh uart1 receive buffer register u1rb xxh 025fh xxh 0260h 0261h 0262h 0263h 0264h uart2 special mode register 4 u2smr4 00h 0265h uart2 special mode register 3 u2smr3 000x 0x0xb 0266h uart2 special mode register 2 u2smr2 x000 0000b 0267h uart2 special mode register u2smr x000 0000b 0268h uart2 transmit/receive mode register u2mr 00h 0269h uart2 bit rate register u2brg xxh 026ah uart2 transmit buffer register u2tb xxh 026bh xxh 026ch uart2 transmit/receive control register 0 u2c0 0000 1000b 026dh uart2 transmit/receive control register 1 u2c1 0000 0010b 026eh uart2 receive buffer register u2rb xxh 026fh xxh x: undefined
r01ds0034ej0200 rev.2.00 page 30 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) note: 1. the blank areas are reserved. no access is allowed. table 4.11 sfr information (11) (1) address register symbol reset value 0270h 0271h 0272h 0273h 0274h 0275h 0276h 0277h 0278h 0279h 027ah 027bh 027ch 027dh 027eh 027fh 0280h 0281h 0282h 0283h 0284h uart5 special mode register 4 u5smr4 00h 0285h uart5 special mode register 3 u5smr3 000x 0x0xb 0286h uart5 special mode register 2 u5smr2 x000 0000b 0287h uart5 special mode register u5smr x000 0000b 0288h uart5 transmit/receive mode register u5mr 00h 0289h uart5 bit rate register u5brg xxh 028ah uart5 transmit buffer register u5tb xxh 028bh xxh 028ch uart5 transmit/receive control register 0 u5c0 0000 1000b 028dh uart5 transmit/receive control register 1 u5c1 0000 0010b 028eh uart5 receive buffer register u5rb xxh 028fh xxh 0290h 0291h 0292h 0293h 0294h uart4 special mode register 4 u4smr4 00h 0295h uart4 special mode register 3 u4smr3 000x 0x0xb 0296h uart4 special mode register 2 u4smr2 x000 0000b 0297h uart4 special mode register u4smr x000 0000b 0298h uart4 transmit/receive mode register u4mr 00h 0299h uart4 bit rate register u4brg xxh 029ah uart4 transmit buffer register u4tb xxh 029bh xxh 029ch uart4 transmit/receive control register 0 u4c0 0000 1000b 029dh uart4 transmit/receive control register 1 u4c1 0000 0010b 029eh uart4 receive buffer register u4rb xxh 029fh xxh x: undefined
r01ds0034ej0200 rev.2.00 page 31 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) note: 1. the blank areas are reserved. no access is allowed. table 4.12 sfr information (12) (1) address register symbol reset value 02a0h 02a1h 02a2h 02a3h 02a4h uart3 special mode register 4 u3smr4 00h 02a5h uart3 special mode register 3 u3smr3 000x 0x0xb 02a6h uart3 special mode register 2 u3smr2 x000 0000b 02a7h uart3 special mode register u3smr x000 0000b 02a8h uart3 transmit/receive mode register u3mr 00h 02a9h uart3 bit rate register u3brg xxh 02aah uart3 transmit buffer register u3tb xxh 02abh xxh 02ach uart3 transmit/receive control register 0 u3c0 0000 1000b 02adh uart3 transmit/receive control register 1 u3c1 0000 0010b 02aeh uart3 receive buffer register u3rb xxh 02afh xxh 02b0h i2c0 data shift register s00 xxh 02b1h 02b2h i2c0 address regi ster 0 s0d0 0000 000xb 02b3h i2c0 control register 0 s1d0 00h 02b4h i2c0 clock control register s20 00h 02b5h i2c0 start/stop condition control register s2d0 0001 1010b 02b6h i2c0 control register 1 s3d0 0011 0000b 02b7h i2c0 control register 2 s4d0 00h 02b8h i2c0 status register 0 s10 0001 000xb 02b9h i2c0 status register 1 s11 xxxx x000b 02bah i2c0 address register 1 s0d1 0000 000xb 02bbh i2c0 address register 2 s0d2 0000 000xb 02bch 02bdh 02beh 02bfh 02c0h time measurement register 0 waveform generation register 0 g1tm0 g1po0 xxh 02c1h xxh 02c2h time measurement register 1 waveform generation register 1 g1tm1 g1po1 xxh 02c3h xxh 02c4h time measurement register 2 waveform generation register 2 g1tm2 g1po2 xxh 02c5h xxh 02c6h time measurement register 3 waveform generation register 3 g1tm3 g1po3 xxh 02c7h xxh 02c8h time measurement register 4 waveform generation register 4 g1tm4 g1po4 xxh 02c9h xxh 02cah time measurement register 5 waveform generation register 5 g1tm5 g1po5 xxh 02cbh xxh 02cch time measurement register 6 waveform generation register 6 g1tm6 g1po6 xxh 02cdh xxh 02ceh time measurement register 7 waveform generation register 7 g1tm7 g1po7 xxh 02cfh xxh x: undefined
r01ds0034ej0200 rev.2.00 page 32 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) note: 1. the blank areas are reserved. no access is allowed. table 4.13 sfr information (13) (1) address register symbol reset value 02d0h waveform generation control register 0 g1pocr0 0x00 xx00b 02d1h waveform generation control register 1 g1pocr1 0x00 xx00b 02d2h waveform generation control register 2 g1pocr2 0x00 xx00b 02d3h waveform generation control register 3 g1pocr3 0x00 xx00b 02d4h waveform generation control register 4 g1pocr4 0x00 xx00b 02d5h waveform generation control register 5 g1pocr5 0x00 xx00b 02d6h waveform generation control register 6 g1pocr6 0x00 xx00b 02d7h waveform generation control register 7 g1pocr7 0x00 xx00b 02d8h time measurement control register 0 g1tmcr0 00h 02d9h time measurement control register 1 g1tmcr1 00h 02dah time measurement control register 2 g1tmcr2 00h 02dbh time measurement control register 3 g1tmcr3 00h 02dch time measurement control register 4 g1tmcr4 00h 02ddh time measurement control register 5 g1tmcr5 00h 02deh time measurement control register 6 g1tmcr6 00h 02dfh time measurement control register 7 g1tmcr7 00h 02e0h base timer register g1bt xxh 02e1h xxh 02e2h base timer control register 0 g1bcr0 00h 02e3h base timer control register 1 g1bcr1 00h 02e4h time measurement prescaler register 6 g1tpr6 00h 02e5h time measurement prescaler register 7 g1tpr7 00h 02e6h function enable register g1fe 00h 02e7h function select register g1fs 00h 02e8h base timer reset register g1btrr xxh 02e9h xxh 02eah count source divide register g1dv 00h 02ebh 02ech waveform output master enable register g1oer 00h 02edh 02eeh timer s i/o control register 0 g1ior0 00h 02efh timer s i/o control register 1 g1ior1 00h 02f0h interrupt request register g1ir xxh 02f1h interrupt enable register 0 g1ie0 00h 02f2h interrupt enable register 1 g1ie1 00h 02f3h 02f4h 02f5h 02f6h 02f7h 02f8h 02f9h 02fah 02fbh 02fch 02fdh 02feh 02ffh x: undefined
r01ds0034ej0200 rev.2.00 page 33 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) note: 1. the blank areas are reserved. no access is allowed. table 4.14 sfr information (14) (1) address register symbol reset value 0300h timer b3/b4/b5 count start flag tbsr 000x xxxxb 0301h 0302h timer a1-1 register ta11 xxh 0303h xxh 0304h timer a2-1 register ta21 xxh 0305h xxh 0306h timer a4-1 register ta41 xxh 0307h xxh 0308h three-phase pwm control register 0 invc0 00h 0309h three-phase pwm control register 1 invc1 00h 030ah three-phase output buffer register 0 idb0 xx11 1111b 030bh three-phase output buffer register 1 idb1 xx11 1111b 030ch dead time timer dtt xxh 030dh timer b2 interrupt generati on frequency set counter ictb2 xxh 030eh position-data-retain function control register pdrf xxxx 0000b 030fh 0310h timer b3 register tb3 xxh 0311h xxh 0312h timer b4 register tb4 xxh 0313h xxh 0314h timer b5 register tb5 xxh 0315h xxh 0316h 0317h 0318h port function control register pfcr 0011 1111b 0319h 031ah 031bh timer b3 mode register tb3mr 00xx 0000b 031ch timer b4 mode register tb4mr 00xx 0000b 031dh timer b5 mode register tb5mr 00xx 0000b 031eh 031fh 0320h count start flag tabsr 00h 0321h 0322h one-shot start flag onsf 00h 0323h trigger select register trgsr 00h 0324h increment/decrement flag udf 00h 0325h 0326h timer a0 register ta0 xxh 0327h xxh 0328h timer a1 register ta1 xxh 0329h xxh 032ah timer a2 register ta2 xxh 032bh xxh 032ch timer a3 register ta3 xxh 032dh xxh 032eh timer a4 register ta4 xxh 032fh xxh x: undefined
r01ds0034ej0200 rev.2.00 page 34 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) note: 1. the blank areas are reserved. no access is allowed. table 4.15 sfr information (15) (1) address register symbol reset value 0330h timer b0 register tb0 xxh 0331h xxh 0332h timer b1 register tb1 xxh 0333h xxh 0334h timer b2 register tb2 xxh 0335h xxh 0336h timer a0 mode register ta0mr 00h 0337h timer a1 mode register ta1mr 00h 0338h timer a2 mode register ta2mr 00h 0339h timer a3 mode register ta3mr 00h 033ah timer a4 mode register ta4mr 00h 033bh timer b0 mode register tb0mr 00xx 0000b 033ch timer b1 mode register tb1mr 00xx 0000b 033dh timer b2 mode register tb2mr 00xx 0000b 033eh timer b2 special mode register tb2sc x000 0000b 033fh 0340h real-time clock second data register rtcsec 00h 0341h real-time clock minute data register rtcmin x000 0000b 0342h real-time clock hour data register rtchr xx00 0000b 0343h real-time clock day data register rtcwk xxxx x000b 0344h real-time clock control register 1 rtccr1 0000 x00xb 0345h real-time clock control register 2 rtccr2 x000 0000b 0346h real-time clock count source select register rtccsr xxx0 0000b 0347h 0348h real-time clock second compare data register rtccsec x000 0000b 0349h real-time clock minute compare data register rtccmin x000 0000b 034ah real-time clock hour compare data register rtcchr x000 0000b 034bh 034ch 034dh 034eh 034fh 0350h 0351h 0352h 0353h 0354h 0355h 0356h 0357h 0358h 0359h 035ah 035bh 035ch 035dh 035eh 035fh x: undefined
r01ds0034ej0200 rev.2.00 page 35 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) notes: 1. the blank areas are reserved. no access is allowed. 2. values after hardware reset, power-on rese t, or voltage monitor 0 reset are as follows: - 00000000b values after voltage monitor 1 reset, voltage monitor 2 re set, software reset, watchdog timer reset, or oscillation stop detect reset are as follows: - 00000000b when bits pm01 and pm00 in the pm0 register are 00b (single-chip mode). - 00000010b when bits pm01 and pm00 in the pm0 register are 01b (memory expansion mode) or 11b (microprocessor mode). 3. when the csproini bit in the ofs1 address is 0, the reset value is 10000000b. table 4.16 sfr information (16) (1) address register symbol reset value 0360h pull-up control register 0 pur0 00h 0361h pull-up control register 1 pur1 0000 0000b (2) 0000 0010b 0362h pull-up control register 2 pur2 00h 0363h 0364h 0365h 0366h port control register pcr 0000 0xx0b 0367h 0368h 0369h nmi/sd digital filter register nmidf xxxx x000b 036ah 036bh 036ch 036dh 036eh 036fh 0370h 0371h 0372h 0373h 0374h 0375h 0376h 0377h 0378h 0379h 037ah 037bh 037ch count source protection mode register cspr 00h (3) 037dh watchdog timer refresh register wdtr xxh 037eh watchdog timer start register wdts xxh 037fh watchdog timer control register wdc 00xx xxxxb 0380h to 038fh x: undefined
r01ds0034ej0200 rev.2.00 page 36 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) note: 1. the blank areas are reserved. no access is allowed. table 4.17 sfr information (17) (1) address register symbol reset value 0390h dma2 source select register dm2sl 00h 0391h 0392h dma3 source select register dm3sl 00h 0393h 0394h 0395h 0396h 0397h 0398h dma0 source select register dm0sl 00h 0399h 039ah dma1 source select register dm1sl 00h 039bh 039ch 039dh 039eh 039fh 03a0h 03a1h 03a2h 03a3h 03a4h 03a5h 03a6h 03a7h 03a8h 03a9h 03aah 03abh 03ach 03adh 03aeh 03afh 03b0h 03b1h 03b2h 03b3h 03b4h sfr snoop address register crcsar xxxx xxxxb 03b5h 00xx xxxxb 03b6h crc mode register crcmr 0xxx xxx0b 03b7h 03b8h 03b9h 03bah 03bbh 03bch crc data register crcd xxh 03bdh xxh 03beh crc input register crcin xxh 03bfh x: undefined
r01ds0034ej0200 rev.2.00 page 37 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) note: 1. the blank areas are reserved. no access is allowed. table 4.18 sfr information (18) (1) address register symbol reset value 03c0h a/d0 register 0 ad00 xxxx xxxxb 03c1h 0000 00xxb 03c2h a/d0 register 1 ad01 xxxx xxxxb 03c3h 0000 00xxb 03c4h a/d0 register 2 ad02 xxxx xxxxb 03c5h 0000 00xxb 03c6h a/d0 register 3 ad03 xxxx xxxxb 03c7h 0000 00xxb 03c8h a/d0 register 4 ad04 xxxx xxxxb 03c9h 0000 00xxb 03cah a/d0 register 5 ad05 xxxx xxxxb 03cbh 0000 00xxb 03cch a/d0 register 6 ad06 xxxx xxxxb 03cdh 0000 00xxb 03ceh a/d0 register 7 ad07 xxxx xxxxb 03cfh 0000 00xxb 03d0h 03d1h 03d2h a/d0 trigger control register ad0trgcon xxxx 00xxb 03d3h 03d4h a/d0 control regist er 2 ad0con2 0000 x00xb 03d5h 03d6h a/d0 control regist er 0 ad0con0 0000 0xxxb 03d7h a/d0 control register 1 ad0con1 0000 x000b 03d8h d/a0 register da0 00h 03d9h 03dah d/a1 register da1 00h 03dbh 03dch d/a control register dacon 00h 03ddh 03deh 03dfh 03e0h port p0 register p0 xxh 03e1h port p1 register p1 xxh 03e2h port p0 direction register pd0 00h 03e3h port p1 direction register pd1 00h 03e4h port p2 register p2 xxh 03e5h port p3 register p3 xxh 03e6h port p2 direction register pd2 00h 03e7h port p3 direction register pd3 00h 03e8h port p4 register p4 xxh 03e9h port p5 register p5 xxh 03eah port p4 direction register pd4 00h 03ebh port p5 direction register pd5 00h 03ech port p6 register p6 xxh 03edh port p7 register p7 xxh 03eeh port p6 direction register pd6 00h 03efh port p7 direction register pd7 00h x: undefined
r01ds0034ej0200 rev.2.00 page 38 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) note: 1. the blank areas are reserved. no access is allowed. table 4.19 sfr information (19) (1) address register symbol reset value 03f0h port p8 register p8 xxh 03f1h port p9 register p9 xxh 03f2h port p8 direction register pd8 00h 03f3h port p9 direction register pd9 00h 03f4h port p10 register p10 xxh 03f5h 03f6h port p10 direction register pd10 00h 03f7h 03f8h 03f9h 03fah 03fbh 03fch 03fdh 03feh 03ffh x: undefined
r01ds0034ej0200 rev.2.00 page 39 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) note: 1. the blank areas are reserved. no access is allowed. table 4.20 sfr information (20) (1) address register symbol reset value d100h usb interrupt flag register 0 usbifr0 00h d101h usb interrupt flag register 1 usbifr1 xxx0 0000b d102h usb interrupt flag register 2 usbifr2 xx00 0110b d103h usb interrupt flag register 3 usbifr3 xx00 0110b d104h d105h d106h d107h d108h usb interrupt enable register 0 usbier0 0000 00x0b d109h usb interrupt enable register 1 usbier1 xxx0 0000b d10ah usb interrupt enable register 2 usbier2 xx00 0000b d10bh usb interrupt enable register 3 usbier3 xx00 0000b d10ch d10dh d10eh d10fh d110h usb interrupt select register 0 usbisr0 00x0 00x0b d111h usb interrupt select register 1 usbisr1 xxx0 0000b d112h usb interrupt select register 2 usbisr2 xx00 0000b d113h usb interrupt select register 3 usbisr3 xx00 0000b d114h d115h d116h d117h d118h d119h d11ah d11bh d11ch d11dh d11eh d11fh d120h usb endpoint 0 in data register usbepdr0i xxh d121h d122h d123h d124h usb endpoint 0 out data register usbepdr0o 00h d125h d126h d127h d128h usb endpoint 0 s data register usbepdr0s 00h d129h d12ah d12bh d12ch d12dh d12eh d12fh x: undefined
r01ds0034ej0200 rev.2.00 page 40 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) note: 1. the blank areas are reserved. no access is allowed. table 4.21 sfr information (21) (1) address register symbol reset value d130h usb endpoint 1 data register usbepdr1 00h d131h d132h d133h d134h usb endpoint 2 data register usbepdr2 xxh d135h d136h d137h d138h usb endpoint 3 data register usbepdr3 xxh d139h d13ah d13bh d13ch d13dh d13eh d13fh d140h usb endpoint 4 data register usbepdr4 00h d141h d142h d143h d144h usb endpoint 5 data register usbepdr5 xxh d145h d146h d147h d148h usb endpoint 6 data register usbepdr6 xxh d149h d14ah d14bh d14ch d14dh d14eh d14fh d150h to d17fh d180h usb endpoint 0 out receive data size register us bepsz0o 000x xxxxb d181h usb endpoint 1 receive data size register usbepsz1 0xxx xxxxb d182h usb endpoint 4 receive data size register usbepsz4 0xxx xxxxb d183h d184h d185h d186h d187h d188h usb data status register 0 usbdasts0 xxxx xxx0b d189h usb data status register 1 usbdasts1 xxxx x00xb d18ah usb data status register 2 usbdasts2 xxxx x00xb d18bh d18ch d18dh d18eh d18fh x: undefined
r01ds0034ej0200 rev.2.00 page 41 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) note: 1. the blank areas are reserved. no access is allowed. table 4.22 sfr information (22) (1) address register symbol reset value d190h usb trigger register 0 usbtrg0 xxh d191h usb trigger register 1 usbtrg1 xxh d192h usb trigger register 2 usbtrg2 xxh d193h d194h d195h d196h d197h d198h usb fifo clear register 0 usbfclr0 xxh d199h usb fifo clear register 1 usbfclr1 xxh d19ah usb fifo clear register 2 usbfclr2 xxh d19bh d19ch d19dh d19eh d19fh d1a0h usb endpoint stall register 0 usbepstl0 xxxx xxx0b d1a1h usb endpoint stall register 1 usbepstl1 xxxx x000b d1a2h usb endpoint stall register 2 usbepstl2 xxxx x000b d1a3h d1a4h d1a5h d1a6h d1a7h d1a8h d1a9h usb stall status register 1 usbstlsr1 x000 x000b d1aah usb stall status register 2 usbstlsr2 x000 x000b d1abh d1ach d1adh d1aeh d1afh d1b0h usb dma transfer setting register usbdmar xxx0 0x00b d1b1h d1b2h d1b3h d1b4h usb configuration value register usbcvr 0000 x000b d1b5h d1b6h d1b7h d1b8h usb control register usbctlr 0xx0 0001b d1b9h d1bah d1bbh d1bch d1bdh d1beh d1bfh x: undefined
r01ds0034ej0200 rev.2.00 page 42 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) note: 1. the blank areas are reserved. no access is allowed. table 4.23 sfr information (23) (1) address register symbol reset value d1c0h usb endpoint information register usbepir xxh d1c1h d1c2h d1c3h d1c4h d1c5h d1c6h d1c7h d1c8h d1c9h d1cah d1cbh d1cch usb module control register usbmc 11x1 0000b d1cdh d1ceh d1cfh x: undefined
r01ds0034ej0200 rev.2.00 page 43 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) 4.2 notes on sfrs 4.2.1 register settings table 4.24 lists registers with write-only bits (1/2 ) and registers whose function differs between read- ing and writing. set these registers with immediate values. do not use read-modify-write instructions. when establishing the next value by altering the existing value, write the ex isting value to the ram as well as to the register. transfer the next value to the register after making changes in the ram. read-modify-write instructions can be used when writing to the no register bits. table 4.24 registers with write-only bits (1/2) address register symbol 0249h uart0 bit rate register u0brg 024bh to 024ah uart0 transmit buffer register u0tb 0259h uart1 bit rate register u1brg 025bh to 025ah uart1 transmit buffer register u1tb 0269h uart2 bit rate register u2brg 026bh to 026ah uart2 transmit buffer register u2tb 0289h uart5 bit rate register u5brg 028bh to 028ah uart5 transmit buffer register u5tb 0299h uart4 bit rate register u4brg 029bh to 029ah uart4 transmit buffer register u4tb 02a9h uart3 bit rate register u3brg 02abh to 02aah uart3 transmit buffer register u3tb 02b6h i2c0 control register 1 s3d0 02b8h i2c0 status register 0 s10 0303h to 0302h timer a1-1 register ta11 0305h to 0304h timer a2-1 register ta21 0307h to 0306h timer a4-1 register ta41 030ah three-phase output buffer register 0 idb0 030bh three-phase output buffer register 1 idb1 030ch dead time timer dtt 030dh timer b2 interrupt generation frequency set counter ictb2 0327h to 0326h timer a0 register ta0 0329h to 0328h timer a1 register ta1 032bh to 032ah timer a2 register ta2 032dh to 032ch timer a3 register ta3 032fh to 032eh timer a4 register ta4 037dh watchdog timer refresh register wdtr 037eh watchdog timer start register wdts
r01ds0034ej0200 rev.2.00 page 44 of 95 feb 07, 2011 m16c/6c group 4. special function registers (sfrs) table 4.25 registers with write-only bits (2/2) address register symbol d120h usb endpoint 0 in data register usbepdr0i d134h usb endpoint 2 data register usbepdr2 d138h usb endpoint 3 data register usbepdr3 d144h usb endpoint 5 data register usbepdr5 d148h usb endpoint 6 data register usbepdr6 d190h usb trigger register 0 usbtrg0 d191h usb trigger register 1 usbtrg1 d192h usb trigger register 2 usbtrg2 d198h usb fifo clear register 0 usbfclr0 d199h usb fifo clear register 1 usbfclr1 d19ah usb fifo clear register 2 usbfclr2 d1a0h usb endpoint stall register 0 usbepstl0 d1a1h usb endpoint stall register 1 usbepstl1 d1a2h usb endpoint stall register 2 usbepstl2 d1c0h usb endpoint info rmation register usbepir table 4.26 read-modify-write instructions function mnemonic transfer mov dir bit processing bclr, bm cnd , bnot, bset, btstc, and btsts shifting rolc, rorc, rot, sha, and shl arithmetic operation abs, adc, adcf, add, dec, div, divu, divx, exts, inc, mul, mulu, neg, sbb, and sub decimal operation dadc, dadd, dsbb, and dsub logical operation and, not, or, and xor jump adjnz, sbjnz
r01ds0034ej0200 rev.2.00 page 45 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics 5. electrical characteristics 5.1 electrical characteristi cs (common to 3 v and 5 v) 5.1.1 absolute maximum rating note: 1. maximum value is 6.5 v. table 5.1 absolute maximum ratings symbol parameter condition rated value unit v cc1 supply voltage v cc1 = av cc ? 0.3 to 6.5 v v cc2 supply voltage v cc1 = av cc ? 0.3 to v cc1 + 0.1 (1) v av cc analog supply voltage v cc1 = av cc ? 0.3 to 6.5 v v ref analog reference voltage v cc1 = av cc ? 0.3 to v cc1 + 0.1 (1) v v i input voltage reset , cnvss, p6_0 to p6_7, p7_2 to p7_7, p8_0 to p8_4, p8_6, p8_7, p9_0 to p9_7, p10_0 to p10_7 xin, uvcc ? 0.3 to v cc1 + 0.3 (1) v p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 to p3_7, p4_0 to p4_7, p5_0 to p5_7 ? 0.3 to v cc2 + 0.3 (1) v p7_0, p7_1, p8_5 ? 0.3 to 6.5 v v o output voltage p6_0 to p6_7, p7_2 to p7_7, p8_0 to p8_4, p8_6, p8_7, p9_0 to p9_7, p10_0 to p10_7 xout, uvcc ? 0.3 to v cc1 + 0.3 (1) v p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 to p3_7, p4_0 to p4_7, p5_0 to p5_7 ? 0.3 to v cc2 + 0.3 (1) v p7_0, p7_1, p8_5 ? 0.3 to 6.5 v p d power consumption ? 40 c < t opr 85 c 300 mw t opr operating temperature when the mcu is operating ? 20 to 85/ ? 40 to 85 c flash program erase program area 0 to 60 data area 0 to 60 t stg storage temperature ? 65 to 150 c
r01ds0034ej0200 rev.2.00 page 46 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics 5.1.2 recommended operating conditions note: 1. the average output current is the mean value within 100 ms. table 5.2 recommended operating conditions (1/3) v cc1 = v cc2 = 2.7 to 5.5 v at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified. symbol parameter standard unit min. typ. max. v cc1 , v cc2 supply voltage (v cc1 v cc2 ) usb function is used 3.0 5.0 5.5 v usb function is not used 2.7 5.0 5.5 v av cc analog supply voltage v cc1 v uvcc usb supply voltage (when uvcc pin is input) usb function is used v cc1 = 3.6 to 5.5v 3.0 3.3 3.6 v v cc1 = 3.0 to 3.6v 3.0 - v cc1 v usb function is not used v cc1 = 2.7 to 5.5v -v cc1 -v v ss supply voltage 0 v av ss analog supply voltage 0 v v ih high input voltage p3_1 to p3_7, p4_0 to p4_7, p5_0 to p5_7 0.8v cc2 v cc2 v p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 (in single-chip mode) 0.8v cc2 v cc2 v p0_0 to p0_7, p2_0 to p2_7, p3_0 ( data input in memory expansion and microprocessor modes ) 0.5v cc2 v cc2 v p6_0 to p6_7, p7_2 to p7_7, p8_0 to p8_4, p8_6, p8_7, p9_0 to p9_7, p10_0 to p10_7 xin, reset , cnvss 0.8v cc1 v cc1 v p7_0, p7_1, p8_5 0.8v cc1 6.5 v v il low input voltage p3_1 to p3_7, p4_0 to p4_7, p5_0 to p5_7 0 0.2v cc2 v p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 (in single-chip mode) 00 . 2 v cc2 v p0_0 to p0_7, p2_0 to p2_7, p3_0 ( data input in memory expansion and microprocessor mode ) 0 0.16v cc2 v p6_0 to p6_7, p7_0 to p7_7, p8_0 to p8_7, p9_0 to p9_7, p10_0 to p10_7 xin, reset , cnvss 00 . 2 v cc1 v i oh(sum) high peak output current sum of i oh(peak) at p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7 -40.0 ma sum of i oh(peak) at p3_0 to p3_7, p4_0 to p4_7, p5_0 to p5_7 -40.0 ma sum of i oh(peak) at p6_0 to p6_7, p7_2 to p7_7, p8_0 to p8_4 -40.0 ma sum of i oh(peak) at p8_6, p8_7, p9_0 to p9_7, p10_0 to p10_7 -40.0 ma i oh(peak) high peak output current p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 to p3_7, p4_0 to p4_7, p5_0 to p5_7, p6_0 to p6_7, p7_2 to p7_7, p8_0 to p8_4, p8_6, p8_7, p9_0 to p9_7, p10_0 to p10_7 ? 10.0 ma i oh(avg) high average output current (1) p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 to p3_7, p4_0 to p4_7, p5_0 to p5_7, p6_0 to p6_7, p7_2 to p7_7, p8_0 to p8_4, p8_6, p8_7, p9_0 to p9_7, p10_0 to p10_7 ? 5.0 ma
r01ds0034ej0200 rev.2.00 page 47 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics note: 1. the average output current is the mean value within 100 ms. note: 1. the device is operationally guaranteed under these operating conditions. table 5.3 recommended operating conditions (2/3) v cc1 = v cc2 = 2.7 to 5.5 v at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified. symbol parameter standard unit min. typ. max. i ol(sum) low peak output current sum of i ol(peak) at p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p8_6, p8_7, p9_0 to p9_7, p10_0 to p10_7 80.0 ma sum of i ol(peak) at p3_0 to p3_7, p4_0 to p4_7, p5_0 to p5_7, p6_0 to p6_7, p7_0 to p7_7, p8_0 to p8_5 80.0 ma i ol(peak) low peak output current p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 to p3_7, p4_0 to p4_7, p5_0 to p5_7, p6_0 to p6_7, p7_0 to p7_7, p8_0 to p8_7, p9_0 to p9_7, p10_0 to p10_7 10.0 ma i ol(avg) low average output current (1) p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 to p3_7, p4_0 to p4_7, p5_0 to p5_7, p6_0 to p6_7, p7_0 to p7_7, p8_0 to p8_7, p9_0 to p9_7, p10_0 to p10_7 5.0 ma f (xin) main clock input oscillation frequency v cc1 = 2.7 v to 5.5 v 2 16 mhz f (xcin) sub clock oscillation frequency 32.768 50 khz f (pll) pll clock oscillation frequency v cc1 = 2.7 v to 5.5 v 10 32 mhz f (bclk) cpu operation clock foco-s divided by 16 32 mhz t su(pll) pll frequency synthesizer stabilization wait time v cc1 = 5.0 v 2 ms v cc1 = 3.0 v 3 ms table 5.4 recommended operating conditions (3/3) (1) v cc1 = 2.7 to 5.5 v, v ss = 0 v, and t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified. the ripple voltage must not exceed v r(vcc1) and/or dv r(vcc1) /dt. symbol parameter standard unit min. typ. max. v r(vcc1) allowable ripple voltage v cc1 = 5.0 v 0.5 vp-p v cc1 = 3.0 v 0.3 vp-p dv r(vcc1) /dt ripple voltage falling gradient v cc1 = 5.0 v 0.3 v/ms v cc1 = 3.0 v 0.3 v/ms
r01ds0034ej0200 rev.2.00 page 48 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics figure 5.1 ripple waveform v r( ) v cc1 v cc1
r01ds0034ej0200 rev.2.00 page 49 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics 5.1.3 a/d conversion characteristics notes: 1. this applies when using one a/d converter, with the adstby bit for the unused a/d converter set to 0 (a/d operation stopped (standby). 2. use when av cc = v cc1 = v cc2 . 3. flash memory rewrite disabled. except for the analog input pin, set the pins to be measured as input ports and connect them to v ss . see figure 5.2 ?a/d accuracy measure circuit?. figure 5.2 a/d accuracy measure circuit table 5.5 a/d conversion characteristics (1/2) (1, 2) av cc = v cc1 = v cc2 = v ref = 3.0 to 5.5 v, v ss = av ss = 0 v at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified. symbol parameter measuring condition standard unit min. typ. max. -r e s o l u t i o n a v cc = v cc1 = v cc2 = v ref 10 bits i nl integral non-linearity error 10bit v cc1 = 5.0 v an0 to an7 input, an0_0 to an0_7 input, an2_0 to an2_7 input, anex0, anex1 input (note 3) 3 lsb v cc1 = 3.3 v an0 to an7 input, an0_0 to an0_7 input, an2_0 to an2_7 input, anex0, anex1 input (note 3) 3 lsb v cc1 = 3.0 v an0 to an7 input, an0_0 to an0_7 input, an2_0 to an2_7 input, anex0, anex1 input (note 3) 3 lsb - absolute accuracy 10bit v cc1 = 5.0 v an0 to an7 input, an0_0 to an0_7 input, an2_0 to an2_7 input, anex0, anex1 input (note 3) 3 lsb v cc1 = 3.3 v an0 to an7 input, an0_0 to an0_7 input, an2_0 to an2_7 input, anex0, anex1 input (note 3) 3 lsb v cc1 = 3.0 v an0 to an7 input, an0_0 to an0_7 input, an2_0 to an2_7 input, anex0, anex1 input (note 3) 3 lsb an analog input an: one of the analog input pin p0 to p10: i/o pins other than an p0 to p10
r01ds0034ej0200 rev.2.00 page 50 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics notes: 1. this applies when using one a/d converter, with the adstby bit for the unused a/d converter set to 0 (a/d operation stopped (standby). 2. use when av cc = v cc1 = v cc2 . 3. do not use a/d converter when v cc1 > v cc2 . 4. when analog input voltage is over reference voltage, the result of a/d conversion is 3ffh. 5. flash memory rewrite disabled. except for the analog input pin, set the pins to be measured as input ports and connect them to v ss . see figure 5.2 ?a/d accuracy measure circuit?. 5.1.4 d/a conversion characteristics notes: 1. this applies when using one d/a converter, with the d/a register for the unused d/a converter set to 00h. 2. the current consumption of the a/d converter is not included. also, the i vref of the d/a converter will flow even if the adstby bit in the adcon1 register is 0 (a/d operation stopped (standby)). table 5.6 a/d conversion characteristics (2/2) (1, 2) av cc = v cc1 = v cc2 = v ref = 3.0 to 5.5 v, v ss = av ss = 0 v at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified. symbol parameter measuring condition standard unit min. typ. max. ad a/d operating clock frequency 4.0 v v ref av cc 5.5 v 2 25 mhz 3.2 v v ref av cc 5.5 v 2 16 mhz 3.0 v v ref av cc 5.5 v 2 10 mhz - tolerance level impedance 3 k d nl differential non-linearity error (5) 1 lsb - offset error (5) 3 lsb - gain error (5) 3 lsb t conv 10-bit conversion time v cc1 = 5 v, ad = 25 mhz 1.60 s t samp sampling time 0.60 s v ref reference voltage 3.0 av cc v v ia analog input voltage (3), (4) 0v ref v table 5.7 d/a conver sion characteristics v cc1 = av cc = v ref = 3.0 to 5.5 v, v ss = av ss = 0 v at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified. symbol parameter measuring condition standard unit min. typ. max. -r e s o l u t i o n 8bits - absolute accuracy 2.5 lsb t su setup time 3 s r o output resistance 568.2k i vref reference power supply input current see notes 1 and 2 1.5 ma
r01ds0034ej0200 rev.2.00 page 51 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics 5.1.5 usb characteristics figure 5.3 data signal timing diagram figure 5.4 load condition table 5.8 usb characteristics v cc1 = 3.0 to 5.5 v, uvcc = 3.0 to 3.6 v, at t opr = -20 c to 85 c / -40 c to 85 c unless otherwise specified. symbol parameter measuring condition standard unit min. typ. max. v ih input characteristics high input voltage figure 5.3, figure 5.4 2.0 - - v v il low input voltage - - 0.8 v v di differential input sensitivity 0.2 - - v v cm differential common mode range 0.8 - 2.5 v v oh output characteristics high output voltage figure 5.3, figure 5.4 i oh = 200 a 2.8 - - v v ol low output voltage figure 5.3, figure 5.4 i ol = 2 m a --0.3v v crs crossover voltage figure 5.3, figure 5.4 1.3 - 2.0 v t r rise time figure 5.3, figure 5.4 4.0 - 20.0 ns t f fall time figure 5.3, figure 5.4 4.0 - 20.0 ns t rfm rise time / fall time matching figure 5.3, figure 5.4 (t r /t f ) 90.0 - 111.1 % z drv output resistance figure 5.3, figure 5.4 includes r s = 27 28.0 - 44.0 w uv cc uvcc output voltage v cc1 = 4.0 to 5.5v, pxxcon = vddusbe = 1 3.0 3.3 3.6 v pxxcon = 0 - v cc1 -v i susp consumption current of the internal power supply for usb v cc1 = 4.0 to 5.5 v uv cc to v ss 0.33 f v cc1 to v ss 0.1 f 50 a d+ d- v crs 90 % 90 % 10 % 10 % rising time falling time t r t f differential date lines d+ d- r s = 27 test point test point r s = 27
r01ds0034ej0200 rev.2.00 page 52 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics 5.1.6 flash memory el ectrical characteristics notes: 1. set the pm17 bit in the pm1 register to 1 (one wait). 2. when the frequency is over this value, set the fmr17 bit in the fmr1 register to 0 (one wait) or the pm17 bit in the pm1 register to 1 (one wait) 3. set the pm17 bit in the pm1 register to 1 (one wait). w hen using 125 khz on-chip oscillator clock or sub clock as the cpu clock source, a wait is not necessary. notes: 1. definition of prog ram and erase cycles: the program and erase cycles refer to the number of per-block erasures. if the program and erase cycles are n (n = 1,000), each block can be erased n times. for example, if a block is erased after writing 2 word data 16,384 times, each to a different address, this counts as one program and erase cycles. data cannot be written to the same address more than once without erasing the block (rewrite prohibited). 2. cycles to guarantee all electrical characteristics after program and erase. (1 to min. value can be guaranteed). 3. in a system that executes multiple programming operations, the actual erasure count can be reduced by writing to sequential addresses in turn so that as much of the block as possible is used up before performing an erase operation. it is advisable to retain data on the erasure cycles of each block and limit the number of erase operations to a certain number. 4. if an error occurs during block erase, attempt to execute the clear status register command, then execute the block erase command at least three times until the erase error does not occur. 5. customers desiring program/erase failure rate information should contact a renesas electronics sales office. 6. the data hold time includes time that the power supply is off or the clock is not supplied. table 5.9 cpu clock when operating flash memory (f (bclk) ) v cc1 = 2.7 to 5.5 v, t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified. symbol parameter conditions standard unit min. typ. max. -c p u r e w r i t e m o d e 10 (1) mhz f(slow_r) slow read mode 5 (3) mhz - low current consumption read mode fc(32.768) 35 khz - data flash read 2.7 v v cc1 3.0 v 16 (2) mhz 3.0 v < v cc1 5.5 v 20 (2) mhz table 5.10 flash memory (program ro m 1, 2) electrical characteristics v cc1 = 2.7 to 5.5 v at t opr = 0 c to 60 c, unless otherwise specified. symbol parameter conditions standard unit min. typ. max. - program and erase cycles (1), (3), (4) v cc1 = 3.3 v, t opr = 25 c 1,000 (2) times - 2 word program time v cc1 = 3.3 v, t opr = 25 c 150 4000 s - lock bit program time v cc1 = 3.3 v, t opr = 25 c 70 3000 s - block erase time v cc1 = 3.3 v, t opr = 25 c 0.2 3.0 s - program, erase voltage 2.7 5.5 v - read voltage t opr = -20 c to 85 c/-40 c to 85 c 2.7 5.5 v - program, erase temperature 0 60 c t ps flash memory circuit stabilization wait time 50 s - data hold time (6) ambient temperature = 55 c20 year
r01ds0034ej0200 rev.2.00 page 53 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics notes: 1. definition of pr ogram and erase cycles the program and erase cycles refer to the number of per-block erasures. if the program and erase cycles are n (n = 10, 000), each block can be erased n times. for example, if a 4 kb block is erased after writing 2 wo rd data 1,024 times, each to a different address, this counts as one program and erase cycles. data cannot be written to the same address more than once without erasing the block (rewrite prohibited). 2. cycles to guarantee all electrical characteristics after program and erase. (1 to min. value can be guaranteed). 3. in a system that executes multiple programming operations, the actual erasure count can be reduced by writing to sequential addresses in turn so that as much of the block as possible is used up before performing an erase operation. for example, when programming groups of 16 bytes, the effective number of rewrites can be minimized by programming up to 256 groups before erasing them all in one operation. in addition, averaging the erasure cycles between blocks a and b ca n further reduce the actual erasure cycles. it is also ad visable to retain data on the erasure cycles of each block and limit the number of eras e operations to a certain number. 4. if an error occurs during block erase, attempt to execute the clear status register command, then execute the block erase command at least three times until the erase error does not occur. 5. customers desiring program/erase failure rate information should contact a renesas electronics sales office. 6. the data hold time includes time that the power supply is off or the clock is not supplied. table 5.11 flash memory (data flash) electrical characteristics v cc1 = 2.7 to 5.5 v at t opr = 0 to 60 c, unless otherwise specified. symbol parameter conditions standard unit min. typ. max. - program and erase cycles (1), (3), (4) v cc1 = 3.3 v, t opr = 25 c 10,000 (2) times - 2 word program time v cc1 = 3.3 v, t opr = 25 c 300 4000 s - lock bit program time v cc1 = 3.3 v, t opr = 25 c 140 3000 s - block erase time v cc1 = 3.3 v, t opr = 25 c 0.2 3.0 s - program, erase voltage 2.7 5.5 v - read voltage 2.7 5.5 v - program, erase temperature 0 60 c t ps flash memory circuit stabilization wait time 50 s - data hold time (6) ambient temperature = 55 c 20 year
r01ds0034ej0200 rev.2.00 page 54 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics 5.1.7 voltage detector and power supp ly circuit electrical characteristics notes: 1. select the voltage detection level with the vdsel1 bit in the ofs1 address. 2. necessary time until the voltage detector operates when setting to 1 again after setting the vc25 bit in the vcr2 register to 0. 3. time from when passing the v det0 until when a voltage monitor 0 reset is generated. notes: 1. necessary time until the voltage detector operates when setting to 1 again after setting the vc26 bit in the vcr2 register to 0. 2. time from when passing the v det1 until when a voltage monitor 1 reset is generated. table 5.12 voltage detector 0 electrical characteristics the measurement condition is v cc1 = 2.7 to 5.5 v, t opr = -20 c to 85 c/-40 c to 85 c, unless otherwise specified. symbol parameter condition standard unit min. typ. max. v det0 voltage detection level vdet0_0 (1) when v cc1 is falling. 1.60 1.90 2.20 v voltage detection level vdet0_2 (1) when v cc1 is falling. 2.70 2.85 3.15 v - voltage detector 0 response time (3) when v cc1 falls from 5 v to (vdet0_0 - 0.1) v 200 s - voltage detector self power consumption vc25 = 1, v cc1 = 5.0 v 1.5 a t d(e-a) waiting time until voltage detector operation starts (2) 100 s table 5.13 voltage detector 1 electrical characteristics the measurement condition is v cc1 = 2.7 to 5.5 v, t opr = -20 c to 85 c/-40 c to 85 c, unless otherwise specified. symbol parameter condition standard unit min. typ. max. v det1 voltage detection level vdet1 when v cc is falling 2.95 3.25 3.55 v - hysteresis width when v cc1 of voltage detector 1 is rising 0.15 v - voltage detector 1 response time (2) when v cc1 falls from 5 v to (vdet1_0 - 0.1) v 200 s - voltage detector self power consumption vc26 = 1, v cc1 = 5.0 v 1.7 a t d(e-a) waiting time until voltage detector operation starts (1) 100 s
r01ds0034ej0200 rev.2.00 page 55 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics notes: 1. necessary time until the voltage detector operates after setting to 1 again after setting the vc27 bit in the vcr2 register to 0. 2. time from when passing the v det2 until when a voltage monitor 2 reset is generated. note: 1. to use the power-on reset function, enable voltage monitor 0 reset by setting the lvdas bit in the ofs1 address to 0. also, set the vdsel1 bit to 0 (vdet0_2). figure 5.5 power-on reset circui t electrical characteristics table 5.14 voltage detector 2 electrical characteristics the measurement condition is v cc1 = 2.7 to 5.5 v, t opr = -20 c to 85 c/-40 c to 85 c, unless otherwise specified. symbol parameter condition standard unit min. typ. max. v det2 voltage detection level vdet2_0 when v cc1 is falling 3.70 4.00 4.30 v - hysteresis width at the rising of v cc1 in voltage detector 2 0.15 v - voltage detector 2 response time (2) when v cc1 falls from 5 v to (vdet2_0 - 0.1) v 200 s - voltage detector self power consumption vc27 = 1, v cc1 = 5.0 v 1.7 a t d(e-a) waiting time until voltage detector operation starts (1) 100 s table 5.15 power-on reset circuit the measurement condition is v cc1 = 2.0 to 5.5 v, t opr = -20 c to 85 c/ -40 c to 85 c, unless otherwise specified. symbol parameter condition standard unit min. typ. max. v por1 voltage at which power-on reset enabled (1) 0.5 v t rth external power v cc1 rise gradient 2.0 50000 mv/ms t w(por) time necessary to enable power-on reset 300 ms vpor1 internal reset signal voltage detection 0 circuit response time 1 f oco-s 32 v cc1 v (1) det0 t rth t w(por) t rth v (1) det0 1 f oco-s 32 note: 1. v det0 indicates the voltage detection level of the voltage detection 0 circuit.
r01ds0034ej0200 rev.2.00 page 56 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics note: 1. waiting time until the internal power supply generator stabilizes when power is on. figure 5.6 power supply circuit timing diagram table 5.16 power supply circuit timing characteristics the measurement condition is v cc1 = 2.7 to 5.5 v and t opr = 25 c, unless otherw ise specified. symbol parameter condition standard unit min. typ. max. t d(p-r) internal power supply stabilit y time when power is on (1) 5ms t d(r-s) stop release time 150 s t d(w-s) low power mode wait mode release time 150 s cpu clock t d(p-r) internal power supply stability time when power is on interrupt for (a) stop mode release or (b) wait mode release cpu clock (a) (b) t d(r-s) stop release time t d(w-s) low power mode wait mode release time vc25, vc26, vc27 t d(e-a) voltage detector operation start time stop operate recommended operation voltage voltage detector v cc1 t d(p-r) t d(r-s) t d(w-s) t d(e-a)
r01ds0034ej0200 rev.2.00 page 57 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics 5.1.8 oscillator elect rical characteristics table 5.17 40 mhz on-chip oscilla tor electrical characteristics v cc1 = 2.7 to 5.5 v, t opr = -20 c to 85 c/-40 c to 85 c, unless otherwise specified. symbol parameter condition standard unit min. typ. max. f oco40m 40 mhz on-chip oscillator frequency average frequency in a 10 ms period 36 40 44 mhz tsu(f oco40m ) wait time until 40 mhz on-chip oscillator stabilizes 2ms table 5.18 125 khz on-c hip oscillator electrical characteristics v cc1 = 2.7 to 5.5 v, t opr = ? 20 c to 85 c/ ? 40 c to 85 c, unless otherwise specified. symbol parameter condition standard unit min. typ. max. f oco-s 125 khz on-chip oscillator frequency average frequency in a 10 ms period 100 125 150 khz tsu(f oco-s ) wait time until 125 khz on-chip oscillator stabilizes 20 s
r01ds0034ej0200 rev.2.00 page 58 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics 5.2 electrical characteristics (v cc1 = v cc2 = 5 v) 5.2.1 electrical characteristics v cc1 = v cc2 = 5 v note: 1. when v cc1 v cc2 , refer to 5 v or 3 v standard depending on the voltage. table 5.19 electrical characteristics (1) (1) v cc1 = v cc2 = 4.2 to 5.5 v, v ss = 0 v at t opr = ? 20 c to 85 c/ ? 40 c to 85 c, f (bclk) = 32 mhz unless otherwise specified. symbol parameter measuring condition standard unit min. typ. max. v oh high output voltage p6_0 to p6_7, p7_2 to p7_7, p8_0 to p8_4, p8_6, p8_7, p9_0 to p9_7, p10_0 to p10_7 i oh = ? 5 ma v cc1 ? 2.0 v cc1 v p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 to p3_7, p4_0 to p4_7, p5_0 to p5_7 i oh = ? 5 ma v cc2 ? 2.0 v cc2 v oh high output voltage p6_0 to p6_7, p7_2 to p7_7, p8_0 to p8_4, p8_6, p8_7, p9_0 to p9_7, p10_0 to p10_7 i oh = ? 200 av cc1 ? 0.3 v cc1 v p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 to p3_7, p4_0 to p4_7, p5_0 to p5_7 i oh = ? 200 a v cc2 ? 0.3 v cc2 v oh high output voltage xout high power i oh = ? 1 ma v cc1 ? 2.0 v cc1 v low power i oh = ? 0.5 ma v cc1 ? 2.0 v cc1 high output voltage xcout high power with no load applied 2.6 v low power with no load applied 2.2 v ol low output voltage p6_0 to p6_7, p7_0 to p7_7, p8_0 to p8_7, p9_0 to p9_7, p10_0 to p10_7 i ol = 5 ma 2.0 v p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 to p3_7, p4_0 to p4_7, p5_0 to p5_7 i ol = 5 ma 2.0 v ol low output voltage p6_0 to p6_7, p7_0 to p7_7, p8_0 to p8_7, p9_0 to p9_7, p10_0 to p10_7 i ol = 200 a0 . 4 5 v p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 to p3_7, p4_0 to p4_7, p5_0 to p5_7 i ol = 200 a 0.45 v ol low output voltage xout high power i ol = 1 ma 2.0 v low power i ol = 0.5 ma 2.0 low output voltage xcout high power with no load applied 0v low power with no load applied 0
r01ds0034ej0200 rev.2.00 page 59 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 5 v note: 1. when v cc1 v cc2 , refer to 5 vor 3 v standard depending on the voltage. table 5.20 electrical characteristics (2) (1) v cc1 = v cc2 = 4.2 to 5.5 v, v ss = 0 v at t opr = ? 20 c to 85 c/ ? 40 c to 85 c, f (bclk) = 32 mhz unless otherwise specified. symbol parameter measuring condition standard unit min. typ. max. v t+ - v t- hysteresis hold , rdy , ta0in to ta4in, tb0in to tb5in, int0 to int7 , nmi , adtrg , cts0 to cts5, scl0 to scl5, sda0 to sda5, clk0 to clk5, ta0out to ta4out, ki0 to ki3 , rxd0 to rxd5, sd , sclmm, sdamm , zp, idu, idv, idw 0.5 2.0 v v t+ - v t- hysteresis reset 0.5 2.5 v i ih high input current p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 to p3_7, p4_0 to p4_7, p5_0 to p5_7, p6_0 to p6_7, p7_0 to p7_7, p8_0 to p8_7, p9_0 to p9_7, p10_0 to p10_7 xin, reset , cnvss v i = 5 v 5.0 a i il low input current p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 to p3_7, p4_0 to p4_7, p5_0 to p5_7, p6_0 to p6_7, p7_0 to p7_7, p8_0 to p8_7, p9_0 to p9_7, p10_0 to p10_7 xin, reset , cnvss v i = 0 v ? 5.0 a r pullup pull-up resistance p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 to p3_7, p4_0 to p4_7, p5_0 to p5_7, p6_0 to p6_7, p7_2 to p7_7, p8_0 to p8_4, p8_6, p8_7, p9_0 to p9_7, p10_0 to p10_7 v i = 0 v 30 50 100 k r fxin feedback resistance xin 1.5 m r fxcin feedback resistance xcin 8 m v ram ram retention voltage in stop mode 1.8 v
r01ds0034ej0200 rev.2.00 page 60 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 5 v notes: 1. this indicates the memory in which the program to be executed exists. 2. this applies when using one a/d converter (fad=25mhz), with the adstby bit for the unused a/d converter set to 0 (a/d operation stopped (standby). table 5.21 electrical characteristics (3) v cc1 = v cc2 = 4.2 to 5.5 v, v ss = 0 v at t opr = ? 20 c to 85 c/ ? 40 c to 85 c, f (bclk) = 32 mhz unless otherwise specified. symbol parameter measuring condition standard unit min. typ. max. i cc power supply current in single-chip, mode, the output pin are open and other pins are v ss high-speed mode f (bclk) = 32 mhz xin = 4 mhz (square wave), pll multiplied by 8 125 khz on-chip oscillator stopped 27.0 ma f (bclk) =32 mhz, a/d conversion (2) xin = 4 mhz (square wave), pll multiplied by 8 125 khz on-chip oscillator stopped 27.7 ma f (bclk) = 16 mhz xin = 16 mhz (square wave) 125 khz on-chip oscillator stopped 13.0 ma 40 mhz on-chip oscillator mode main clock stopped 40 mhz on-chip oscillator on, no division 125 khz on-chip oscillator stopped 17.0 ma 125 khz on-chip oscillator mode main clock stopped 40 mhz on-chip oscillator stopped, 125 khz on-chip oscillator on, no division fmr22 = 1 (slow read mode) 500.0 a low-power mode f (bclk) = 32 khz in low-power mode fmr22 = fmr23 = 1 on flash memory (1) 160.0 a f (bclk) = 32 khz in low-power mode on ram (1) 45.0 a wait mode main clock stopped 40 mhz on-chip oscillator stopped 125 khz on-chip oscillator on peripheral clock operating t opr = 25 c 21.0 a f (xcin) = 32 khz (oscillation capacity high) 40 mhz on-chip oscillator stopped 125 khz on-chip oscillator stopped peripheral clock operating t opr = 25 c 11.0 a f (xcin) = 32 khz (oscillation capacity low) 40 mhz on-chip oscillator stopped 125 khz on-chip oscillator stopped peripheral clock operating t opr = 25 c 6.0 a stop mode main clock stopped 40 mhz on-chip oscillator stopped 125 khz on-chip oscillator stopped peripheral clock stopped t opr = 25 c 2.2 a during flash memory program f (bclk) = 10 mhz, pm17 = 1 (one wait) v cc1 = 5.0 v 20.0 ma during flash memory erase f (bclk) = 10 mhz, pm17 = 1 (one wait) v cc1 = 5.0 v 30.0 ma
r01ds0034ej0200 rev.2.00 page 61 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 5 v 5.2.2 timing requirements (per ipheral functions and others) (v cc1 = v cc2 = 5 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) 5.2.2.1 reset input ( reset input) figure 5.7 reset input ( reset input) 5.2.2.2 external clock input note: 1. the condition is v cc1 = v cc2 = 3.0 to 5.0 v. figure 5.8 external clock input (xin input) table 5.22 reset input ( reset input) symbol parameter standard unit min. max. t w(rstl) reset input low pulse width 10 s table 5.23 external clock input (xin input) (1) symbol parameter standard unit min. max. t c external clock input cycle time 50 ns t w(h) external clock inpu t high pulse width 20 ns t w(l) external clock input low pulse width 20 ns t r external clock rise time 9n s t f external clock fall time 9n s reset input t w(rtsl) xin input t w(h) t r t f t w(l) t c
r01ds0034ej0200 rev.2.00 page 62 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 5 v timing requirements (v cc1 = v cc2 = 5 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) 5.2.2.3 timer a input figure 5.9 timer a input table 5.24 timer a input (counter input in event counter mode) symbol parameter standard unit min. max. t c(ta) taiin input cycle time 100 ns t w(tah) taiin input high pulse width 40 ns t w(tal) taiin input low pulse width 40 ns table 5.25 timer a input (gating input in timer mode) symbol parameter standard unit min. max. t c(ta) taiin input cycle time 400 ns t w(tah) taiin input high pulse width 200 ns t w(tal) taiin input low pulse width 200 ns table 5.26 timer a input (external trigger input in one-shot timer mode) symbol parameter standard unit min. max. t c(ta) taiin input cycle time 200 ns t w(tah) taiin input high pulse width 100 ns t w(tal) taiin input low pulse width 100 ns table 5.27 timer a input (external trigger input in pulse width modulation mode and programmable output mode) symbol parameter standard unit min. max. t w(tah) taiin input high pulse width 100 ns t w(tal) taiin input low pulse width 100 ns taiin input taiout input t w(tah) t c(ta) t w(tal) t c(up) t w(uph) t w(upl)
r01ds0034ej0200 rev.2.00 page 63 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 5 v timing requirements (v cc1 = v cc2 = 5 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) figure 5.10 timer a input (two-phase pulse input in event counter mode) table 5.28 timer a input (two-phase pulse input in event counter mode) symbol parameter standard unit min. max. t c(ta) taiin input cycle time 800 ns t su(tain-taout) taiout input setup time 200 ns t su(taout-tain) taiin input setup time 200 ns taiin input two-phase pulse input in event counter mode taiout input t c(ta) t su(tain-taout) t su(tain-taout) t su(taout-tain) t su(taout-tain)
r01ds0034ej0200 rev.2.00 page 64 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 5 v timing requirements (v cc1 = v cc2 = 5 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) 5.2.2.4 timer b input figure 5.11 timer b input table 5.29 timer b input (counter input in event counter mode) symbol parameter standard unit min. max. t c(tb) tbiin input cycle time (counted on one edge) 100 ns t w(tbh) tbiin input high pulse width (counted on one edge) 40 ns t w(tbl) tbiin input low pulse width (counted on one edge) 40 ns t c(tb) tbiin input cycle time (counted on both edges) 200 ns t w(tbh) tbiin input high pulse width (counted on both edges) 80 ns t w(tbl) tbiin input low pulse width (counted on both edges) 80 ns table 5.30 timer b input (pul se period measurement mode) symbol parameter standard unit min. max. t c(tb) tbiin input cycle time 400 ns t w(tbh) tbiin input high pulse width 200 ns t w(tbl) tbiin input low pulse width 200 ns table 5.31 timer b input (pulse width measurement mode) symbol parameter standard unit min. max. t c(tb) tbiin input cycle time 400 ns t w(tbh) tbiin input high pulse width 200 ns t w(tbl) tbiin input low pulse width 200 ns tbiin input t c(tb) t w(tbh) t w(tbl)
r01ds0034ej0200 rev.2.00 page 65 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 5 v timing requirements (v cc1 = v cc2 = 5 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) 5.2.2.5 timer s input figure 5.12 timer s input (two-phase pulse input in two-phase pulse signal processing mode) table 5.32 timer s input (two-phase pulse input in two-phase pulse signal processing mode) symbol parameter standard unit min. max. t w(tsh) tsuda, tsudb input high pulse width 2 s t w(tsl) tsuda, tsudb input low pulse width 2 s t su(tsuda-tsudb) tsudb input setup time 1 s t su(tsudb-tsuda) tsuda input setup time 1 s tsuda input two-phase pulse input in two-phase pulse signal processing mode t w(tsh) t su(tsuda-tsudb) tsudb input t w(tsl) t su(tsuda-tsudb) t su(tsudb-tsuda) t su(tsudb-tsuda) t w(tsl) t w(tsh) note: 1. when the tsuda and tsudb phases are interchanged, t su(tsuda-tsudb) and t su(tsudb-tsuda) are also interchanged.
r01ds0034ej0200 rev.2.00 page 66 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 5 v timing requirements (v cc1 = v cc2 = 5 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) 5.2.2.6 serial interface figure 5.13 serial interface 5.2.2.7 external interrupt inti input figure 5.14 external interrupt inti input table 5.33 serial interface symbol parameter standard unit min. max. t c(ck) clki input cycle time 200 ns t w(ckh) clki input high pulse width 100 ns t w(ckl) clki input low pulse width 100 ns t d(c-q) txdi output delay time 80 ns t h(c-q) txdi hold time 0n s t su(d-c) rxdi input setup time 70 ns t h(c-d) rxdi input hold time 90 ns table 5.34 external interrupt inti input symbol parameter standard unit min. max. t w(inh) inti input high pulse width 250 ns t w(inl) inti input low pulse width 250 ns clki txdi rxdi t c(ck) t w(ckh) t w(ckl) t h(c-q) t d(c-q) t su(d-c) t h(c-d) inti input t w(inl) t w(inh)
r01ds0034ej0200 rev.2.00 page 67 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 5 v timing requirements (v cc1 = v cc2 = 5 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) 5.2.2.8 multi-master i 2 c-bus figure 5.15 multi-master i 2 c-bus table 5.35 multi-master i 2 c-bus symbol parameter standard clock mode fast-mode unit min. max. min. max. t buf bus free time 4.7 1.3 s t hd;sta hold time in start condition 4.0 0.6 s t low hold time in scl clock 0 status 4.7 1.3 s t r scl, sda signals? rising time 1000 20 + 0.1 cb 300 ns t hd;dat data hold time 00 0 . 9 s t high hold time in scl clock 1 status 4.0 0.6 s f f scl, sda signals? falling time 300 20 + 0.1 cb 300 ns t su;dat data setup time 250 100 ns t su;sta setup time in restart condition 4.7 0.6 s t su;sto stop condition setup time 4.0 0.6 s sda scl p ps sr t low t hd;sta t hd;dat t high t su;dat t su;sta t r t f t hd;sta t su;sto t buf
r01ds0034ej0200 rev.2.00 page 68 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 5 v timing requirements (v cc1 = v cc2 = 5 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) 5.2.3 timing requirements (memory expansion mode and microprocessor mode) notes: 1. calculated according to the bclk frequency as follows: 2. calculated according to the bclk frequency as follows: n is 1 for 1 wait setting, 2 for 2 waits setting and 3 for 3 waits setting. 3. calculated according to the bclk frequency as follows: n is 2 for 2 waits setting, and 3 for 3 waits setting. table 5.36 memory expansion mode and microprocessor mode symbol parameter standard unit min. max. t ac1(rd-db) data input access time (for setting with no wait) (note 1) ns t ac2(rd-db) data input access time (for setting with 1 to 3 waits) (note 2) ns t ac3(rd-db) data input access time (when accessing multiplex bus area) (note 3) ns t su(db-rd) data input setup time 40 ns t su(rdy-bclk) rdy input setup time 80 ns t h(rd-db) data input hold time 0ns t h(bclk-rdy) rdy input hold time 0n s 0.5 10 9 f bclk () ns [] n 0.5 + () f bclk () ns [] n 0.5 ? () f bclk () ns []
r01ds0034ej0200 rev.2.00 page 69 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics figure 5.16 timing diagram memory expansion mode and microprocessor mode ( effective in wait state setting ) rdy input rd bclk (separate bus) (multiplexed bus) rd (separate bus) (multiplexed bus) t su(rdy-bclk) t h(bclk-rdy) measuring conditions y v = v = 5 v cc1 cc2 y input timing voltage: v = 1.0 v, v = 4.0 v il ih y output timing voltage: v = 2.5 v, v = 2.5 v ol oh v = v = 5 v cc1 cc2 wr wr
r01ds0034ej0200 rev.2.00 page 70 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 5 v 5.2.4 switching characteris tics (memory expansion mode and microprocessor mode) (v cc1 = v cc2 = 5 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) 5.2.4.1 in no wait state setting notes: 1. calculated according to the bclk frequency as follows: f (bclk) is 12.5 mhz or less. 2. calculated according to the bclk frequency as follows: 3. this standard value shows the timing when the output is off, and does not show hold time of data bus. hold time of data bus varies with capacitor volume and pull-up (pull-down) resistance value. hold time of data bus is expressed in t = ? cr ln(1 ? v ol /v cc2 ) by a circuit of the right figure. for example, when v ol = 0.2v cc2 , c = 30 pf, r = 1 k , hold time of output low level is t = ? 30 pf 1 k in(1 ? 0.2v cc2 /v cc2 ) = 6.7 ns. table 5.37 memory expansion mode and micropr ocessor mode (in no wait state setting) symbol parameter measuring condition standard unit min. max. t d(bclk-ad) address output delay time see figure 5.17 25 ns t h(bclk-ad) address output hold time (in relation to bclk) 0ns t h(rd-ad) address output hold time (in relation to rd) 0ns t h(wr-ad) address output hold time (in relation to wr) (note 2) ns t d(bclk-cs) chip select output delay time 25 ns t h(bclk-cs) chip select output hold time (in relation to bclk) 0n s t d(bclk-ale) ale signal output delay time 15 ns t h(bclk-ale) ale signal output hold time ?4n s t d(bclk-rd) rd signal output delay time 25 ns t h(bclk-rd) rd signal output hold time 0ns t d(bclk-wr) wr signal output delay time 25 ns t h(bclk-wr) wr signal output hold time 0ns t d(bclk-db) data output delay time (in relation to bclk) 40 ns t h(bclk-db) data output hold time (in relation to bclk) (3) 0n s t d(db-wr) data output delay time (in relation to wr) (note 1) ns t h(wr-db) data output hold time (in relation to wr) (3) (note 2) ns 0.5 10 9 () --------------------- -40 ns [] ? 0.5 10 9 () --------------------- -10 ns [] ? dbi r c
r01ds0034ej0200 rev.2.00 page 71 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics figure 5.17 ports p0 to p10 measurement circuit p6 p7 p8 p10 p9 p0 p1 p2 p3 p4 p5 30 pf
r01ds0034ej0200 rev.2.00 page 72 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics figure 5.18 timing diagram bclk csi adi ale rd 25ns(max.) 0ns(min.) hi-z dbi 0ns(min.) bhe read timing memory expansion mode and microprocessor mode (in no wait state setting) 25ns(max.) 0ns(min.) bclk csi adi ale bhe 40ns(max.) 0ns(min.) dbi write timing hi-z 1 v = v = 5v cc1 cc2 15ns(max.) t h(bclk-cs) t cyc t h(bclk-ad) 0ns(min.) t d(bclk-ad) t d(bclk-ale) -4ns(min.) t h(rd-ad) 0ns(min.) t d(bclk-rd) t h(bclk-rd) 0ns(min.) t ac1(rd-db) t su(db-rd) t h(rd-db) t h(bclk-ale) 25ns(max.) t d(bclk-cs) 25ns(max.) t d(bclk-cs) 25ns(max.) 0ns(min.) t h(bclk-cs) t cyc 25ns(max.) 0ns(min.) 15ns(max.) t d(bclk-ale) -4ns(min.) t h(bclk-ale) t d(bclk-ad) t h(bclk-ad) t h(wr-ad) t d(bclk-wr) t h(bclk-wr) t d(bclk-db) t h(bclk-db) t d(db-wr) t h(wr-db) t = cyc measuring conditions y v = v = 5v cc1 cc2 y input timing voltage: v = 0.8 v, v = 2.0 v il ih y output timing voltage: v = 0.4 v, v = 2.4 v ol oh f (bclk) 40ns(min.) (0.5 t - 40)ns(min.) cyc (0.5 t - 10)ns(min.) cyc (0.5 t - 10)ns(min.) cyc (0.5 t - 45)ns(max.) cyc wr
r01ds0034ej0200 rev.2.00 page 73 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 5 v switching characteristics (v cc1 = v cc2 = 5 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) 5.2.4.2 in 1 to 3 waits setting and when accessing external area notes: 1. calculated according to the bclk frequency as follows: 2. calculated according to the bclk frequency as follows: 3. this standard value shows the timing when the output is off, and does not show hold time of data bus. hold time of data bus varies with capacitor volume and pull-up (pull-down) resistance value. hold time of data bus is expressed in t = ? cr ln(1 ? v ol /v cc2 ) by a circuit of the right figure. for example, when v ol = 0.2v cc2 , c = 30 pf, r = 1 k , hold time of output low level is t = ? 30 pf 1 k in(1 ? 0.2v cc2 /v cc2 ) = 6.7 ns. table 5.38 memory expansion mode and microprocessor mode (in 1 to 3 waits setting and when accessing external area) symbol parameter measuring condition standard unit min. max. t d(bclk-ad) address output delay time see figure 5.17 25 ns t h(bclk-ad ) address output hold time (in relation to bclk) 0ns t h(rd-ad ) address output hold time (in relation to rd) 0n s t h(wr-ad) address output hold time (in relation to wr) (note 2) ns t d(bclk-cs) chip select output delay time 25 ns t h(bclk-cs) chip select output hold time (in relation to bclk) 0ns t d(bclk-ale) ale signal output delay time 15 ns t h(bclk-ale ) ale signal output hold time -4 ns t d(bclk-rd) rd signal output delay time 25 ns t h(bclk-rd) rd signal output hold time 0ns t d(bclk-wr) wr signal output delay time 25 ns t h(bclk-wr) wr signal output hold time 0ns t d(bclk-db) data output delay time (in relation to bclk) 40 ns t h(bclk-db) data output hold time (in relation to bclk) (3) 0n s t d(db-wr) data output delay time (in relation to wr) (note 1) ns t h(wr-db) data output hold time (in relation to wr) (3) (note 2) ns n 0.5 ? () f bclk () ns [] n is 1 for 1 wait setting, 2 for 2 waits setting and 3 for 3 waits setting. when n = 1, f (bclk) is 12.5 mhz or less. 0.5 10 9 f bclk () ns [] dbi r c
r01ds0034ej0200 rev.2.00 page 74 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics figure 5.19 timing diagram bclk csi adi ale rd hi-z dbi bhe read timing bclk csi adi ale bhe dbi write timing hi-z memory expansion mode and microprocessor mode (in 1 to 3 waits setting and when accessing external area) 1 v = v = 5v cc1 cc2 t d(bclk-cs) 25ns(max.) 0ns(min.) t cyc t h(bclk-ad) t d(bclk-ad) 25ns(max.) t d(bclk-ale) 15ns(max.) 0ns(min.) t h(bclk-cs) -4ns(min.) t h(bclk-ale) 0ns(min.) t h(rd-ad) t d(bclk-rd) 25ns(max.) 0ns(min.) t h(bclk-rd) {(n+0.5) t -45}ns(max.) cyc t su(db-rd) 0ns(min.) t h(rd-db) t d(bclk-cs) 25ns(max.) 0ns(min.) t h(bclk-cs) t cyc t d(bclk-ad) 25ns(max.) 0ns(min.) t h(bclk-ad) t d(bclk-ale) 15ns(max.) -4ns(min.) t h(bclk-ale) (0.5 t -10)ns(min.) cyc t h(wr-ad) t ac2(rd-db) t d(bclk-wr) 25ns(max.) 0ns(min.) t h(bclk-wr) t d(bclk-db) 40ns(max.) 0ns(min.) t h(wr-db) t d(db-wr) {(n-0.5) t -40}ns(min.) cyc (0.5 t -10)ns(min.) cyc t = cyc t h(bclk-db) n: 1 (when 1 wait) 2 (when 2 waits) 3 (when 3 waits) measuring conditions y v = v = 5v cc1 cc2 y input timing voltage: v = 0.8 v, v = 2.0 v il ih y output timing voltage: v = 0.4 v, v = 2.4 v ol oh f (bclk) 40ns(min.) wr
r01ds0034ej0200 rev.2.00 page 75 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 5 v switching characteristics (v cc1 = v cc2 = 5 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) 5.2.4.3 in 2 or 3 waits setting, and when accessing external area and using multiplexed bus notes: 1. calculated according to the bclk frequency as follows: 2. calculated according to the bclk frequency as follows: n is 2 for 2-wait setting, 3 for 3-wait setting. 3. calculated according to the bclk frequency as follows: 4. calculated according to the bclk frequency as follows: 5. when using multiplex bus, set f (bclk) 12.5 mhz or less. table 5.39 memory expansion mode and microprocess or mode (in 2 or 3 waits setting, and when accessing external area and using multiplexed bus) (5) symbol parameter measuring condition standard unit min. max. t d(bclk-ad) address output delay time see figure 5.17 25 ns t h(bclk-ad) address output hold time (in relation to bclk) 0ns t h(rd-ad) address output hold time (in relation to rd) (note 1) ns t h(wr-ad) address output hold time (in relation to wr) (note 1) ns t d(bclk-cs) chip select output delay time 25 ns t h(bclk-cs) chip select output hold time (in relation to bclk) 0ns t h(rd-cs) chip select output hold time (in relation to rd) (note 1) ns t h(wr-cs) chip select output hold time (in relation to wr) (note 1) ns t d(bclk-rd) rd signal output delay time 25 ns t h(bclk-rd) rd signal output hold time 0ns t d(bclk-wr) wr signal output delay time 25 ns t h(bclk-wr) wr signal output hold time 0ns t d(bclk-db) data output delay time (in relation to bclk) 40 ns t h(bclk-db) data output hold time (in relation to bclk) 0ns t d(db-wr) data output delay time (in relation to wr) (note 2) ns t h(wr-db) data output hold time (in relation to wr) (note 1) ns t d(bclk-ale) ale signal output delay time (in relation to bclk) 15 ns t h(bclk-ale) ale signal output hold time (in relation to bclk) ? 4n s t d(ad-ale) ale signal output delay time (in relation to address) (note 3) ns t h(ad-ale) ale signal output hold time (in relation to address) (note 4) ns t d(ad-rd) rd signal output delay from the end of address 0ns t d(ad-wr) wr signal output delay from the end of address 0ns t dz(rd-ad) address output floating start time 8ns 0.5 10 9 () --------------------- -10 ns [] ? n 0.5 ? () 10 9 () ----------------------------------- -40 ns [] ? 0.5 10 9 () --------------------- -25 ns [] ? 0.5 10 9 () --------------------- -15 ns [] ?
r01ds0034ej0200 rev.2.00 page 76 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics figure 5.20 timing diagram memory expansion mode and microprocessor mode (in 2 or 3 waits setting, and when accessing external area and using multiplexed bus ) bclk csi adi ale rd bhe adi /dbi read timing bclk csi adi ale bhe adi /dbi data output write timing address address data input address address v = v = 5v cc1 cc2 t d(bclk-cs) 25ns(max.) t cyc (0.5 t -10)ns(min.) cyc t h(rd-cs) t h(bclk-cs) 0ns(min.) (0.5 t -25ns(min.) cyc t d(ad-ale) (0.5 t -15ns(min.) cyc t h(ale-ad) t dz(rd-ad) 8ns(max.) {(n-0.5) t -45}ns(max.) cyc t ac3(rd-db) t su(db-rd) t h(rd-db) 0ns(min.) 0ns(min.) t d(ad-rd) t h(bclk-ad) 0ns(min.) 15ns(max.) t d(bclk-ale) t h(bclk-ale) -4ns(min.) t d(bclk-ad) 25ns(max.) t h(rd-ad) (0.5 t -10)ns(min.) cyc 25ns(max.) t d(bclk-rd) 0ns(min.) t h(bclk-rd) t cyc t d(bclk-cs) 25ns(max.) (0.5 t -10)ns(min.) cyc t h(wr-cs) t h(bclk-cs) 0ns(min.) t d(bclk-db) 40ns(max.) t h(bclk-db) 0ns(min.) (0.5 t -25ns(min.) cyc t d(ad-ale) {(n-0.5) t -40}ns(min.) cyc t d(db-wr) (0.5 t -10)ns(min.) cyc t h(wr-db) t d(bclk-ad) 25ns(max.) t h(bclk-ad) 0ns(min.) 15ns(max.) t d(bclk-ale) t h(bclk-ale) -4ns(min.) 0ns(min.) t d(ad-wr) t h(wr-ad) (0.5 t -10)ns(min.) cyc 25ns(max.) t d(bclk-wr) 0ns(min.) t h(bclk-wr) n: 2 (when 2 waits) 3 (when 3 waits) measuring conditions y v = v = 5v cc1 cc2 y input timing voltage: v = 0.8 v, v = 2.0 v il ih y output timing voltage: v = 0.4 v, v = 2.4 v ol oh 40ns(min.) wr
r01ds0034ej0200 rev.2.00 page 77 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics 5.3 electrical characteristics (v cc1 = v cc2 = 3 v) 5.3.1 electrical characteristics vcc1 = vcc2 = 3 v note: 1. when v cc1 v cc2 , refer to 5 v or 3 v standard depending on the voltage. table 5.40 electrical characteristics (1) (1) v cc1 = v cc2 = 2.7 to 3.3 v, v ss = 0 v at t opr = -20 c to 85 c/-40 c to 85 c, f (bclk) = 32 mhz unless otherwise specified. symbol parameter measuring condition standard unit min. typ. max. v oh high output voltage p6_0 to p6_7, p7_2 to p7_7, p8_0 to p8_4, p8_6, p8_7, p9_0 to p9_7, p10_0 to p10_7 i oh = ? 1 ma v cc1 ? 0.5 v cc1 v p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 to p3_7, p4_0 to p4_7, p5_0 to p5_7 i oh = ? 1 ma v cc2 ? 0.5 v cc2 v oh high output voltage xout high power i oh = ? 0.1 ma v cc1 ? 0.5 v cc1 v low power i oh = ? 50 av cc1 ? 0.5 v cc1 high output voltage xcout high power with no load applied 2.6 v low power with no load applied 2.2 v ol low output voltage p6_0 to p6_7, p7_0 to p7_7, p8_0 to p8_7, p9_0 to p9_7, p10_0 to p10_7 i ol = 1 ma 0.5 v p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 to p3_7, p4_0 to p4_7, p5_0 to p5_7 i ol = 1 ma 0.5 v ol low output voltage xout high power i ol = 0.1 ma 0.5 v low power i ol = 50 a0 . 5 low output voltage xcout high power with no load applied 0 v low power with no load applied 0 v t+ -v t- hysteresis hold , rdy , ta0in to ta4in, tb0in to tb5in, int0 to int7 , nmi , adtrg , cts0 to cts5 , scl0 to scl5, sda0 to sda5, clk0 to clk5, ta0out to ta4out, ki0 to ki3 , rxd0 to rxd5, sd , sclmm, sdamm, zp, idu, idv, idw 0.2 1.0 v reset 0.2 1.8 v i ih high input current p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 to p3_7, p4_0 to p4_7, p5_0 to p5_7, p6_0 to p6_7, p7_0 to p7_7, p8_0 to p8_7, p9_0 to p9_7, p10_0 to p10_7 xin, reset , cnvss v i = 3 v 4.0 a i il low input current p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 to p3_7, p4_0 to p4_7, p5_0 to p5_7, p6_0 to p6_7, p7_0 to p7_7, p8_0 to p8_7, p9_0 to p9_7, p10_0 to p10_7 xin, reset , cnvss v i = 0 v ? 4.0 a r pullup pull-up resistance p0_0 to p0_7, p1_0 to p1_7, p2_0 to p2_7, p3_0 to p3_7, p4_0 to p4_7, p5_0 to p5_7, p6_0 to p6_7, p7_2 to p7_7, p8_0 to p8_4, p8_6, p8_7, p9_0 to p9_7, p10_0 to p10_7 v i = 0 v 50 80 150 k r fxin feedback resistance xin 3.0 m r fxcin feedback resistance xcin 16 m v ram ram retention voltage in stop mode 1.8 v
r01ds0034ej0200 rev.2.00 page 78 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 3 v notes: 1. this indicates the memory in which the program to be executed exists. 2. this applies when using one a/d converter (fad=25mhz), with the adstby bit for the unused a/d converter set to 0 (a/d operation stopped (standby). table 5.41 electrical characteristics (2) v cc1 = v cc2 = 2.7 to 3.3 v, v ss = 0 v at t opr = ? 20 c to 85 c/ ? 40 c to 85 c, f (bclk) = 32 mhz unless otherwise specified. symbol parameter measuring condition standard unit min. typ. max. i cc power supply current in single-chip, mode, the output pin are open and other pins are v ss high-speed mode f (bclk) = 32 mhz xin = 4 mhz (square wave), pll multiplied by 8 125 khz on-chip oscillator stopped 27.0 ma f (bclk) = 32 mhz (2) xin = 4 mhz (square wave), pll multiplied by 8 125 khz on-chip oscillator stopped 27.7 ma f (bclk) = 16 mhz xin = 16 mhz (square wave) 125 khz on-chip oscillator stopped 13.0 ma 40 mhz on-chip oscillator mode main clock stopped 40 mhz on-chip oscillator on, no division 125 khz on-chip oscillator stopped 17.0 ma 125 khz on-chip oscillator mode main clock stopped 40 mhz on-chip oscillator stopped 125 khz on-chip oscillator on, no division fmr22 = 1 (slow read mode) 450.0 a low-power mode f (bclk) = 32 mhz in low-power mode fmr 22 = fmr23 = 1 on flash memory (1) 160.0 a f (bclk) = 32 mhz in low-power mode on ram (1) 40.0 a wait mode main clock stopped 40 mhz on-chip oscillator stopped 125 khz on-chip oscillator on peripheral clock operating t opr = 25 c 20.0 a f (xcin) = 32 mhz (oscillation capacity high) 40 mhz on-chip oscillator stopped 125 khz on-chip oscillator stopped peripheral clock operating t opr = 25 c 8.0 a f (xcin) = 32 khz (oscillation capacity low) 40 mhz on-chip oscillator stopped 125 khz on-chip oscillator stopped peripheral clock operating t opr = 25 c 6.0 a stop mode main clock stopped 40 mhz on-chip oscillator stopped 125 khz on-chip oscillator stopped peripheral clock stopped t opr = 25 c 2.0 a during flash memory program f (bclk) = 10 mhz, pm17 = 1 (one wait) v cc1 = 3.0 v 20.0 ma during flash memory erase f (bclk) = 10 mhz, pm17 = 1 (one wait) v cc1 = 3.0 v 30.0 ma
r01ds0034ej0200 rev.2.00 page 79 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 3 v 5.3.2 timing requirements (per ipheral functions and others) (v cc1 = v cc2 = 3 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) 5.3.2.1 reset input ( reset input) figure 5.21 reset input ( reset input) 5.3.2.2 external clock input note: 1. the condition is v cc1 = v cc2 = 2.7 to 3.0 v. figure 5.22 external clock input (xin input) table 5.42 reset input ( reset input) symbol parameter standard unit min. max. t w(rstl) reset input low pulse width 10 s table 5.43 external clock input (xin input) (1) symbol parameter standard unit min. max. t c external clock input cycle time 50 ns t w(h) external clock input high pulse width 20 ns t w(l) external clock input low pulse width 20 ns t r external clock rise time 9ns t f external clock fall time 9ns reset input t w(rtsl) xin input t w(h) t r t f t w(l) t c
r01ds0034ej0200 rev.2.00 page 80 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 3 v timing requirements (v cc1 = v cc2 = 3 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) 5.3.2.3 timer a input figure 5.23 timer a input table 5.44 timer a input (counter input in event counter mode) symbol parameter standard unit min. max. t c(ta) taiin input cycle time 150 ns t w(tah) taiin input high pulse width 60 ns t w(tal) taiin input low pulse width 60 ns table 5.45 timer a input (gating input in timer mode) symbol parameter standard unit min. max. t c(ta) taiin input cycle time 600 ns t w(tah) taiin input high pulse width 300 ns t w(tal) taiin input low pulse width 300 ns table 5.46 timer a input (external trigger input in one-shot timer mode) symbol parameter standard unit min. max. t c(ta) taiin input cycle time 300 ns t w(tah) taiin input high pulse width 150 ns t w(tal) taiin input low pulse width 150 ns table 5.47 timer a input (external trigger input in pulse width modulation mode and programmable output mode) symbol parameter standard unit min. max. t w(tah) taiin input high pulse width 150 ns t w(tal) taiin input low pulse width 150 ns taiin input taiout input t w(tah) t c(ta) t w(tal) t c(up) t w(uph) t w(upl)
r01ds0034ej0200 rev.2.00 page 81 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 3 v timing requirements (v cc1 = v cc2 = 3 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) figure 5.24 timer a input (two-phase pulse input in event counter mode) table 5.48 timer a input (two-phase pulse input in event counter mode) symbol parameter standard unit min. max. t c(ta) taiin input cycle time 2 s t su(tain-taout) taiout input setup time 500 ns t su(taout-tain) taiin input setup time 500 ns taiin input two-phase pulse input in event counter mode taiout input t c(ta) t su(tain-taout) t su(tain-taout) t su(taout-tain) t su(taout-tain)
r01ds0034ej0200 rev.2.00 page 82 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 3 v timing requirements (v cc1 = v cc2 = 3 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) 5.3.2.4 timer b input figure 5.25 timer b input table 5.49 timer b input (counter input in event counter mode) symbol parameter standard unit min. max. t c(tb) tbiin input cycle time (counted on one edge) 150 ns t w(tbh) tbiin input high pulse width (counted on one edge) 60 ns t w(tbl) tbiin input low pulse width (counted on one edge) 60 ns t c(tb) tbiin input cycle time (counted on both edges) 300 ns t w(tbh) tbiin input high pulse width (counted on both edges) 120 ns t w(tbl) tbiin input low pulse width (counted on both edges) 120 ns table 5.50 timer b input (pul se period measurement mode) symbol parameter standard unit min. max. t c(tb) tbiin input cycle time 600 ns t w(tbh) tbiin input high pulse width 300 ns t w(tbl) tbiin input low pulse width 300 ns table 5.51 timer b input (pulse width measurement mode) symbol parameter standard unit min. max. t c(tb) tbiin input cycle time 600 ns t w(tbh) tbiin input high pulse width 300 ns t w(tbl) tbiin input low pulse width 300 ns tbiin input t c(tb) t w(tbh) t w(tbl)
r01ds0034ej0200 rev.2.00 page 83 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 3 v timing requirements (v cc1 = v cc2 = 3 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) 5.3.2.5 timer s input timer s input (two-phase pulse input in two-phase pulse signal processing mode) table 5.52 timer s input (two-phase pulse input in two-phase pulse signal processing mode) symbol parameter standard unit min. max. t w(tsh) tsuda, tsudb input high pulse width 2 s t w(tsl) tsuda, tsudb input low pulse width 2 s t su(tsuda-tsudb) tsudb input setup time 1 s t su(tsudb-tsuda) tsuda input setup time 1 s tsuda input two-phase pulse input in two-phase pulse signal processing mode t w(tsh) t su(tsuda-tsudb) tsudb input t w(tsl) t su(tsuda-tsudb) t su(tsudb-tsuda) t su(tsudb-tsuda) t w(tsl) t w(tsh) note: 1. when the tsuda and tsudb phases are interchanged, t su(tsuda-tsudb) and t su(tsudb-tsuda) are also interchanged.
r01ds0034ej0200 rev.2.00 page 84 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 3 v timing requirements (v cc1 = v cc2 = 3 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) 5.3.2.6 serial interface figure 5.26 serial interface 5.3.2.7 external interrupt inti input figure 5.27 external interrupt inti input table 5.53 serial interface symbol parameter standard unit min. max. t c(ck) clki input cycle time 300 ns t w(ckh) clki input high pulse width 150 ns t w(ckl) clki input low pulse width 150 ns t d(c-q) txdi output delay time 160 ns t h(c-q) txdi hold time 0n s t su(d-c) rxdi input setup time 100 ns t h(c-d) rxdi input hold time 90 ns table 5.54 external interrupt inti input symbol parameter standard unit min. max. t w(inh) inti input high pulse width 380 ns t w(inl) inti input low pulse width 380 ns clki txdi rxdi t c(ck) t w(ckh) t w(ckl) t h(c-q) t d(c-q) t su(d-c) t h(c-d) inti input t w(inl) t w(inh)
r01ds0034ej0200 rev.2.00 page 85 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 3 v timing requirements (v cc1 = v cc2 = 3 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) 5.3.2.8 multi-master i 2 c-bus figure 5.28 multi-master i 2 c-bus table 5.55 multi-master i 2 c-bus symbol parameter standard clock mode fast-mode unit min. max. min. max. t buf bus free time 4.7 1.3 s t hd;sta hold time in start condition 4.0 0.6 s t low hold time in scl clock 0 status 4.7 1.3 s t r scl, sda signal s? rising time 1000 20 + 0.1 cb 300 ns t hd;dat data hold time 000.9 s t high hold time in scl clock 1 status 4.0 0.6 s f f scl, sda signals? falling time 300 20 + 0.1 cb 300 ns t su;dat data setup time 250 100 ns t su;sta setup time in restart condition 4.7 0.6 s t su;sto stop condition setup time 4.0 0.6 s sda scl p ps sr t low t hd;sta t hd;dat t high t su;dat t su;sta t r t f t hd;sta t su;sto t buf
r01ds0034ej0200 rev.2.00 page 86 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 3 v timing requirements (v cc1 = v cc2 = 3 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) 5.3.3 timing requirements (memory expansion mode and microprocessor mode) notes: 1. calculated according to the bclk frequency as follows: 2. calculated according to the bclk frequency as follows: n is 1 for 1 wait setting, 2 for 2 waits setting and 3 for 3 waits setting. 3. calculated according to the bclk frequency as follows: n is 2 for 2 waits setting, 3 for 3 waits setting. table 5.56 memory expansion mode and microprocessor mode symbol parameter standard unit min. max. t ac1(rd-db) data input access time (for setting with no wait) (note 1) ns t ac2(rd-db) data input access time (for setting with wait) (note 2) ns t ac3(rd-db) data input access time (when accessing multiplex bus area) (note 3) ns t su(db-rd) data input setup time 50 ns t su(rdy-bclk) rdy input setup time 85 ns t h(rd-db) data input hold time 0ns t h(bclk-rdy) rdy input hold time 0ns 0.5 10 9 f bclk () ns [] n 0.5 + () f bclk () ns [] n 0.5 ? () f bclk () ns []
r01ds0034ej0200 rev.2.00 page 87 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics figure 5.29 timing diagram memory expansion mode and microprocessor mode ( effective in wait state setting ) rdy input rd bclk (separate bus) (multiplexed bus) rd (separate bus) (multiplexed bus) t su(rdy-bclk) t h(bclk-rdy) measuring conditions y v = v = 3 v cc1 cc2 y input timing voltage: v = 0.6 v, v = 2.4 v il ih y output timing voltage: v = 1.5 v, v = 1.5 v ol oh v = v = 3 v cc1 cc2 wr wr
r01ds0034ej0200 rev.2.00 page 88 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 3 v 5.3.4 switching characteris tics (memory expansion mode and microprocessor mode) (v cc1 = v cc2 = 3 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) 5.3.4.1 in no wait state setting notes: 1. calculated according to the bclk frequency as follows: f (bclk) is 12.5 mhz or less. 2. calculated according to the bclk frequency as follows: 3. this standard value shows the timing when the output is off, and does not show hold time of data bus. hold time of data bus varies wi th capacitor volu me and pull-up (pull-down) resistance value. hold time of data bus is expressed in t = ? cr ln(1 ? v ol /v cc2 ) by a circuit of the right figure. for example, when v ol = 0.2v cc2 , c = 30 pf, r = 1 k , hold time of output low level is t = ? 30 pf 1 k in(1 ? 0.2v cc2 /v cc2 ) = 6.7 ns. table 5.57 memory expansion and microprocessor modes (in no wait state setting) symbol parameter measuring condition standard unit min. max. t d(bclk-ad) address output delay time see figure 5.30 30 ns t h(bclk-ad) address output hold time (in relation to bclk) 0n s t h(rd-ad) address output hold time (in relation to rd) 0n s t h(wr-ad) address output hold time (in relation to wr) (note 2) ns t d(bclk-cs) chip select output delay time 30 ns t h(bclk-cs) chip select output hold time (in relation to bclk) 0n s t d(bclk-ale) ale signal output delay time 25 ns t h(bclk-ale) ale signal output hold time ? 4n s t d(bclk-rd) rd signal output delay time 30 ns t h(bclk-rd) rd signal output hold time 0n s t d(bclk-wr) wr signal output delay time 30 ns t h(bclk-wr) wr signal output hold time 0n s t d(bclk-db) data output delay time (in relation to bclk) 40 ns t h(bclk-db) data output hold time (in relation to bclk) (3) 0n s t d(db-wr) data output delay time (in relation to wr) (note 1) ns t h(wr-db) data output hold time (in relation to wr) (3) (note 2) ns 0.5 10 9 () --------------------- -40 ns [] ? 0.5 10 9 () --------------------- -10 ns [] ? dbi r c
r01ds0034ej0200 rev.2.00 page 89 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics figure 5.30 ports p0 to p10 measurement circuit p6 p7 p8 p10 p9 p0 p1 p2 p3 p4 p5 30 pf
r01ds0034ej0200 rev.2.00 page 90 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics figure 5.31 timing diagram bclk csi adi ale rd 30ns(max.) 0ns(min.) hi-z dbi 0ns(min.) bhe read timing memory expansion mode and microprocessor mode (in no wait state setting) 30ns(max.) 0ns(min.) bclk csi adi ale bhe 0ns(min.) dbi write timing hi-z 1 f (bclk) v = v = 3v cc1 cc2 25ns(max.) t h(bclk-cs) t cyc t h(bclk-ad) 0ns(min.) t d(bclk-ad) t d(bclk-ale) -4ns(min.) t h(rd-ad) 0ns(min.) t d(bclk-rd) t h(bclk-rd) 0ns(min.) t ac1(rd-db) (0.5 t -60)ns(max.) cyc t su(db-rd) t h(rd-db) t h(bclk-ale) 30ns(max.) t d(bclk-cs) 30ns(max.) t d(bclk-cs) 30ns(max.) 0ns(min.) t h(bclk-cs) t cyc 30ns(max.) 0ns(min.) 25ns(max.) t d(bclk-ale) -4ns(min.) t h(bclk-ale) t d(bclk-ad) t h(bclk-ad) t h(wr-ad) (0.5 t -10)ns(min.) cyc t d(bclk-wr) t h(bclk-wr) t d(bclk-db) t h(bclk-db) t d(db-wr) (0.5 t -40)ns(min.) cyc t h(wr-db) (0.5 t -10)ns(min.) cyc t = cyc 40ns(max.) measuring conditions y v = v = 3v cc1 cc2 y input timing voltage: v = 0.6 v, v = 2.4 v il ih y output timing voltage: v = 1.5 v, v = 1.5 v ol oh 50ns(min.) wr
r01ds0034ej0200 rev.2.00 page 91 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 3 v switching characteristics (v cc1 = v cc2 = 3 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) 5.3.4.2 in 1 to 3 waits setting and when accessing external area notes: 1. calculated according to the bclk frequency as follows: 2. calculated according to the bclk frequency as follows: 3. this standard value shows the timing when the output is off, and does not show hold time of data bus. hold time of data bus varies with capacitor volume and pull-up (pull-down) resistance value. hold time of data bus is expressed in t= ? cr ln(1 ? v ol /v cc2 ) by a circuit of the right figure. for example, when v ol = 0.2v cc2 , c = 30 pf, r = 1 k , hold time of output low level is t = ? 30 pf 1 k in(1 ? 0.2v cc2 /v cc2 ) = 6.7 ns. table 5.58 memory expansion mode and microprocessor mode (in 1 to 3 waits setting and when accessing external area) symbol parameter measuring condition standard unit min. max. t d(bclk-ad) address output delay time see figure 5.30 30 ns t h(bclk-ad) address output hold time (in relation to bclk) 0n s t h(rd-ad) address output hold time (in relation to rd) 0n s t h(wr-ad) address output hold time (in relation to wr) (note 2) ns t d(bclk-cs) chip select output delay time 30 ns t h(bclk-cs) chip select output hold time (in relation to bclk) 0n s t d(bclk-ale) ale signal output delay time 25 ns t h(bclk-ale) ale signal output hold time -4 ns t d(bclk-rd) rd signal output delay time 30 ns t h(bclk-rd) rd signal output hold time 0n s t d(bclk-wr) wr signal output delay time 30 ns t h(bclk-wr) wr signal output hold time 0n s t d(bclk-db) data output delay time (in relation to bclk) 40 ns t h(bclk-db) data output hold time (in relation to bclk) (3) 0n s t d(db-wr) data output delay time (in relation to wr) (note 1) ns t h(wr-db) data output hold time (in relation to wr) (3) (note 2) ns n is 1 for 1 wait setting, 2 for 2 waits setting and 3 for 3 waits setting. when n = 1, f (bclk) is 12.5 mhz or less. n 0.5 ? () f bclk () ns [] f bclk () ns [] dbi r c
r01ds0034ej0200 rev.2.00 page 92 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics figure 5.32 timing diagram bclk csi adi ale rd hi-z dbi bhe read timing bclk csi adi ale bhe dbi write timing hi-z memory expansion mode and microprocessor mode (in 1 to 3 waits setting and when accessing external area) 1 v = v = 3v cc1 cc2 t d(bclk-cs) 30ns(max.) 0ns(min.) t cyc t h(bclk-ad) t d(bclk-ad) 30ns(max.) t d(bclk-ale) 25ns(max.) 0ns(min.) t h(bclk-cs) -4ns(min.) t h(bclk-ale) 0ns(min.) t h(rd-ad) t d(bclk-rd) 30ns(max.) 0ns(min.) t h(bclk-rd) t su(db-rd) 0ns(min.) t h(rd-db) t d(bclk-cs) 30ns(max.) 0ns(min.) t h(bclk-cs) t cyc t d(bclk-ad) 30ns(max.) 0ns(min.) t h(bclk-ad) t d(bclk-ale) 25ns(max.) -4ns(min.) t h(bclk-ale) (0.5 t -10)ns(min.) cyc t h(wr-ad) t d(bclk-wr) 30ns(max.) 0ns(min.) t h(bclk-wr) t d(bclk-db) 40ns(max.) 0ns(min.) t h(wr-db) t d(db-wr) {(n-0.5) t -40}ns(min.) cyc (0.5 t -10)ns(min.) cyc t = cyc t h(bclk-db) n: 1 (when 1 wait) 2 (when 2 waits) 3 (when 3 waits) measuring conditions y v = v = 3v cc1 cc2 y input timing voltage: v = 0.6 v, v = 2.4 v il ih y output timing voltage: v = 1.5 v, v = 1.5 v ol oh f (bclk) {(n+0.5) t -60}ns(max.) cyc t ac2(rd-db) 50ns(min.) wr
r01ds0034ej0200 rev.2.00 page 93 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics v cc1 = v cc2 = 3 v switching characteristics (v cc1 = v cc2 = 3 v, v ss = 0 v, at t opr = -20 c to 85 c/-40 c to 85 c unless otherwise specified) 5.3.4.3 in 2 or 3 waits setting, and when accessing external area and using multiplexed bus notes: 1. calculated according to the bclk frequency as follows: 2. calculated according to the bclk frequency as follows: n is 2 for 2 waits setting, 3 for 3 waits setting. 3. calculated according to the bclk frequency as follows: 4. calculated according to the bclk frequency as follows: 5. when using multiplexed bus, set f (bclk) 12.5 mhz or less. table 5.59 memory expansion mode and microprocess or mode (in 2 or 3 waits setting, and when accessing external area and using multiplexed bus) (5) symbol parameter measuring condition standard unit min. max. t d(bclk-ad) address output delay time see figure 5.30 50 ns t h(bclk-ad) address output hold time (in relation to bclk) 0n s t h(rd-ad) address output hold time (in relation to rd) (note 1) ns t h(wr-ad) address output hold time (in relation to wr) (note 1) ns t d(bclk-cs) chip select output delay time 50 ns t h(bclk-cs) chip select output hold time (in relation to bclk) 0n s t h(rd-cs) chip select output hold time (in relation to rd) (note 1) ns t h(wr-cs) chip select output hold time (in relation to wr) (note 1) ns t d(bclk-rd) rd signal output delay time 40 ns t h(bclk-rd) rd signal output hold time 0n s t d(bclk-wr) wr signal output delay time 40 ns t h(bclk-wr) wr signal output hold time 0n s t d(bclk-db) data output delay time (in relation to bclk) 50 ns t h(bclk-db) data output hold time (in relation to bclk) 0n s t d(db-wr) data output delay time (in relation to wr) (note 2) ns t h(wr-db) data output hold time (in relation to wr) (note 1) ns t d(bclk-ale) ale signal output delay time (in relation to bclk) 25 ns t h(bclk-ale) ale signal output hold time (in relation to bclk) ? 4n s t d(ad-ale) ale signal output delay time (in relation to address) (note 3) ns t h(ad-ale) ale signal output hold time (in relation to address) (note 4) ns t d(ad-rd) rd signal output delay from the end of address 0n s t d(ad-wr) wr signal output delay from the end of address 0n s t dz(rd-ad) address output floating start time 8ns 0.5 10 9 () --------------------- -10 ns [] ? n 0.5 ? () 10 9 () ----------------------------------- -50 ns [] ? 0.5 10 9 () --------------------- -40 ns [] ? 0.5 10 9 () --------------------- -15 ns [] ?
r01ds0034ej0200 rev.2.00 page 94 of 95 feb 07, 2011 m16c/6c group 5. electrical characteristics figure 5.33 timing diagram memory expansion mode and microprocessor mode (in 2 or 3 waits setting, and when accessing external area and using multiplexed bus ) bclk csi adi ale rd bhe adi /dbi read timing bclk csi adi ale bhe adi /dbi data output write timing address address data input address address v = v = 3v cc1 cc2 t d(bclk-cs) 50ns(max.) t cyc (0.5 t -10)ns(min.) cyc t h(rd-cs) t h(bclk-cs) 0ns(min.) (0.5 t -40ns(min.) cyc t d(ad-ale) (0.5 t -15ns(min.) cyc t h(ale-ad) t dz(rd-ad) 8ns(max.) {(n-0.5) t -60}ns(max.) cyc t ac3(rd-db) t su(db-rd) t h(rd-db) 0ns(min.) 0ns(min.) t d(ad-rd) t h(bclk-ad) 0ns(min.) 25ns(max.) t d(bclk-ale) t h(bclk-ale) -4ns(min.) t d(bclk-ad) 50ns(max.) t h(rd-ad) (0.5 t -10)ns(min.) cyc 40ns(max.) t d(bclk-rd) 0ns(min.) t h(bclk-rd) t cyc t d(bclk-cs) 50ns(max.) (0.5 t -10)ns(min.) cyc t h(wr-cs) t h(bclk-cs) 0ns(min.) t d(bclk-db) 50ns(max.) t h(bclk-db) 0ns(min.) (0.5 t -40ns(min.) cyc t d(ad-ale) {(n-0.5) t -50}ns(min.) cyc t d(db-wr) (0.5 t -10)ns(min.) cyc t h(wr-db) t d(bclk-ad) 50ns(max.) t h(bclk-ad) 0ns(min.) 25ns(max.) t d(bclk-ale) t h(bclk-ale) -4ns(min.) 0ns(min.) t d(ad-wr) t h(wr-ad) (0.5 t -10)ns(min.) cyc 40ns(max.) t d(bclk-wr) 0ns(min.) t h(bclk-wr) n: 2 (when 2 waits) 3 (when 3 waits) measuring conditions y v = v = 3v cc1 cc2 y input timing voltage: v = 0.6 v, v = 2.4 v il ih y output timing voltage: v = 1.5 v, v = 1.5 v ol oh 1 t = cyc f (bclk) 50ns(min.) wr
r01ds0034ej0200 rev.2.00 page 95 of 95 feb 07, 2011 m16c/6c group appendix 1. package dimensions appendix 1. package dimensions the information on the latest package dimensions or packaging may be obtained from ?packages? on the renesas electronics website. p-qfp100-14x20-0.65 1.8g mass[typ.] 100p6f-a prqp0100jd-b renesas code jeita package code previous code 0.2 0.150.13 0.40.3 0.25 maxnommin dimension in millimeters symbol reference 20.220.019.8 d 14.214.013.8 e 2.8 a 2 23.122.822.5 17.116.816.5 3.05 a 0.20.1 0 0.80.60.4 l 10 0 c 0.65 e 0.10 y h d h e a 1 b p z d z e 0.575 0.825 x 0.13 2. 1. dimensions " *1" and "*2" do not include mold flash. note) dimension "*3" does not include trim offset. detail f l a 2 a 1 *3 *1 *2 f 1 30 31 50 51 80 81 100 index mark y x c h e e d h d a b p z d z e e terminal cross section b 1 c 1 b p c 2. 1. dimensions " *1" and "*2" do not include mold flash. note) dimension "*3" does not include trim offset. y index mark x 12 5 26 50 51 75 76 100 f *1 *3 *2 z e z d e d h d h e b p detail f l 1 a 2 a 1 l a c l 1 z e z d c 1 b 1 b p a 1 h e h d y 0.08 e 0.5 c 0 8 x l 0.35 0.5 0.65 0.05 0.1 0.15 a 1.7 15.8 16.0 16.2 15.8 16.0 16.2 a 2 1.4 e 13.9 14.0 14.1 d 13.9 14.0 14.1 reference symbol dimension in millimeters min nom max 0.15 0.20 0.25 0.09 0.145 0.20 0.08 1.0 1.0 0.18 0.125 1.0 previous code jeita package code renesas code plqp0100kb-a 100p6q-a / fp-100u / fp-100uv mass[typ.] 0.6g p-lqfp100-14x14-0.50 e
a - 1 revision history m16c/6c group datasheet rev. date description page summary 1.00 jul 15, 2009 - first edition issued. 2.00 feb 07, 2011 overall 0004h processor mode register 0: combined differing reset values into one. overall 0019h voltage detector 2 flag register: changed the reset value from ?0000 x000b?. overall 001ah voltage detector operation enabl e register: changed reset value from ?000x 0000b?. overall 002ah voltage monitor 0 control regi ster: changed reset value from ?1100 xx10b?. overall 002bh voltage monitor 1 control regi ster: changed reset value from ?1000 1x10b?. overall 02b9h i2c0 status register 1: changed reset value from ?00h?. overall 0324h increment/decrement flag: changed name from up/down flag. overall 03dch d/a control register: changed reset value from ?xxxx xx00b?. overall changed the uvcc pin from ?input? to ?i/o?. overview chap. 1. changed from ?inpc10 to inpc17? to ?inpc1_0 to inpc1_7? and from ?outc10 to outc17? to ?outc1_0 to outc1_7?. 1 1.1.1 applications: added the note. 3 table 1.2 specifications (2/2): ? changed the value in the current consumption row to ?described in electrical characteristics?. ? deleted note 1. 4 table 1.3 product list: changed the development status. 5 figure 1.2 marking diagram (top view): added the detail explanations for the 7-digit date code. 7, 8 figure 1.4 pin assignment and figure 1.5 pin assignment: added ?/tsuda? to p8_0 and ?/tsudb? to p8_1. 9 table 1.4 pin names (1/2): added ?/tsudb? to p8_1 and ?/tsuda? to p8_0. 11 table 1.6 pin functions (1/3): ? changed the description of cnvss pin. ? changed the description of hold pin. 12 table 1.7 pin functions (2/3): added ?tsuda, tsudb? to the pin name of timer s. 13 table 1.8 pin functions (3/3): deleted notes 1 and 2. address space 18 figure 3.2 memory map: added note 1 and 3 to the reserved areas. special function registers (sfrs) 20 table 4.1 sfr information (1): ? deleted ?the vcr1 register, the vcr2 register? from note 2. ? deleted notes 5 to 6 and added note 5. 21 table 4.2 sfr information (2): deleted notes 2 to 6 and added note 2. 35 table 4.16 sfr information (16): deleted ?00000010b? from values after hardware reset in note 2. 43 4.2.1 register settings: added the description regarding read-modify-write instructions. 44 table 4.26 read-modify-write instructions: added. electrical characteristics chap. 5. moved the measuring conditions in note 1 to below the table title. chap. 5. reordered figures and tables in 5.2. 2 timing requirements (peripheral functions and others) and 5.3.2 timing requirements (peripheral functions and others). 45 table 5.1 absolute maximum ratings: ? changed the condition of the v cc2 row. ? added the v ref row. ? added a row for the data area value to t opr (flash program erase). ? added the note 1. 46 table 5.2 recommended operating conditions (1/3): added the i oh(sum) row and deleted note 3. 47 table 5.3 recommended operating conditions (2/3): added the i ol(sum) row and deleted note 3.
a - 2 2.00 feb 07, 2011 49 table 29.5 a/d conversion characteristics (1/2): added the measuring condition of the resolution row. 50 table 5.6 a/d conversion characteristics (2/2): added the note 5. 52 table 5.9 cpu clock when operating flash memory (f (bclk) ): added the typ. value of the low current consumption read mode. 52 table 5.10 flash memory (program ro m 1, 2) electrical characteristics: ? added a condition to the read voltage row. ? modified note 1. ? deleted the example stated in note 4. 53 table 5.11 flash memory (data fl ash) electrical characteristics: changed ?128 groups? to ?256 groups? in note 4. 54 table 5.12 voltage detector 0 electrical c haracteristics: added the condition in the v det0 row. 55 table 5.15 power-on reset circuit: ? added the v por1 and t w(por) row. ? deleted the condition of t rth row. ? added the last line in note 1. 55 figure 5.5 power-on reset circuit electrical characteristics: ? changed the signal name ?0.1 v? to ?v por1 ?. ? deleted note 2. 57 table 5.17 40 mhz on-chip oscillat or electrical characteristics: changed the condition in the f oco40m row. 59 table 5.20 electrical characteristics (2): added ?zp, idu, idv, idw? to the v t+ - v t- row. 60 table 5.21 electrical characteristics (3): added the during flash memory program row and during flash memory erase row. 65, 83 5.2.2.5 and 5.3.2.5 timer s input: added. 67, 85 5.2.2.8 and 5.3.2.8 multi-master i 2 c-bus: added. 68 table 5.36 memory expansi on mode and microprocessor mode: changed rdy input setup time from 30. 68 to 75, 86 to 93 table 5.36 to table 5.39 and table 5.56 to table 5.59 memory expansion mode and microprocessor mode: deleted the following: ? hold input setup time ? hold input hold time ? hlda output delay time 69, 87 figure 5.16 and figure 5.29 timing diagram: deleted lower figure (common to wait state and no wait state settings). 77 table 5.40 electrical characteristics (1): added ?zp, idu, idv, idw? to the v t+ - v t- row. 78 table 5.41 electrical characteristics (2): added the during flash memory program row and during flash memory erase row. 86 table 5.56 memory expansi on mode and microprocessor mode: changed rdy input setup time from 40. revision history m16c/6c group datasheet rev. date description page summary all trademarks and registered trademarks are the property of their respective owners. iebus is a registered trademark of nec electronics corporation. hdmi and high-definition multimedia interface are registered trademarks of hdmi licensing, llc.
general precautions in the handling of mpu/mcu products the following usage notes are applicable to all mpu/mcu products from renesas. for detailed usage notes on the products covered by this manual, refer to the rele vant sections of the manu al. if the descriptions under general precautions in the handling of mpu/mcu products and in the body of the manual differ from each other, the description in the bod y of the manual takes precedence. 1. handling of unused pins handle unused pins in accord with the directions given under handling of unused pins in the manual. ? the input pins of cmos products are general ly in the high-impedance state. in operation with an unused pin in the open-circuit state, extra electromagnetic noise is induced in the vicinity of lsi, an associated shoot-through current flows internally, and malfunctions occur due to the false recognition of the pin state as an input signal become possible. unused pins should be handled as described under handling of unused pins in the manual. 2. processing at power-on the state of the product is undefined at the moment when power is supplied. ? the states of internal circuits in the lsi are indeterminate and the states of register settings and pins are undefined at the moment when power is supplied. in a finished product where the reset signal is applied to the external reset pin, the states of pins are not guaranteed from the moment when power is supplied until the reset process is completed. in a similar way, the states of pins in a pr oduct that is reset by an on-chip power-on reset function are not guaranteed from the moment when power is supplied until the power reaches the level at which resetting has been specified. 3. prohibition of access to reserved addresses access to reserved addresses is prohibited. ? the reserved addresses are provided for the po ssible future expansion of functions. do not access these addresses; the correct operat ion of lsi is not guaranteed if they are accessed. 4. clock signals after applying a reset, only release the reset line after the operating clock signal has become stable. when switching the clock signal during pr ogram execution, wait until the target clock signal has stabilized. ? when the clock signal is generated with an external resonator (or from an external oscillator) during a reset, ensure that the reset li ne is only released after full stabilization of the clock signal. moreover, when switching to a clock signal produced with an external resonator (or by an external oscillator) while program execution is in progress, wait until the target clock signal is stable. 5. differences between products before changing from one product to another, i.e. to one with a different part number, confirm that the change will not lead to problems. ? the characteristics of mpu/mcu in the same group but having different part numbers may differ because of the differences in internal memory capacity and layout pattern. when changing to products of different part numbe rs, implement a system-evaluation test for each of the products.
notice 1. all information included in this document is current as of the date this document is issued. such information, however, is subject to change without any prior notice. before purchasing or using any renesas electronics products listed herein, please confirm the latest product information with a renesas electronics sales office. also, please pay regular and careful attention to additional and different information to be disclosed by renesas electronics such as that disclosed through our website. 2. renesas electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property rights of third parties by or arising from the use of renesas electronics products or technical information described in this document. no license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of renesas electronics or others. 3. you should not alter, modify, copy, or otherwise misappropriate any renesas electronics product, whether in whole or in part . 4. descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples. you are fully responsible for the incorporation of these circuits, software, and information in the design of your equipment. renesas electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits, software, or information. 5. when exporting the products or technology described in this document, you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations. you should not use renesas electronics products or the technology described in this document for any purpose relating to military applications or use by the military, including but not limited to the development of weapons of mass destruction. renesas electronics products and technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign laws or regulations. 6. renesas electronics has used reasonable care in preparing the information included in this document, but renesas electronics does not warrant that such information is error free. renesas electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein. 7. renesas electronics products are classified according to the following three quality grades: "standard", "high quality", and "specific". the recommended applications for each renesas electronics product depends on the product's quality grade, as indicated below. you must check the quality grade of each renesas electronics product before using it in a particular application. you may not use any renesas electronics product for any application categorized as "specific" without the prior written consent of renesas electronics. further, you may not use any renesas electronics product for any application for which it is not intended without the prior written consent of renesas electronics. renesas electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any renesas electronics product for an application categorized as "specific" or for which the product is not intended where you have failed to obtain the prior written consent of renesas electronics. the quality grade of each renesas electronics product is "standard" unless otherwise expressly specified in a renesas electronics data sheets or data books, etc. "standard": computers; office equipment; communications equipment; test and measurement equipment; audio and visual equipment; home electronic appliances; machine tools; personal electronic equipment; and industrial robots. "high quality": transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anti-crime systems; safety equipment; and medical equipment not specifically designed for life support. "specific": aircraft; aerospace equipment; submersible repeaters; nuclear reactor control systems; medical equipment or systems for life support (e.g. artificial life support devices or systems), surgical implantations, or healthcare intervention (e.g. excision, etc.), and any other applications or purposes that pose a direct threat to human life. 8. you should use the renesas electronics products described in this document within the range specified by renesas electronics, especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. renesas electronics shall have no liability for malfunctions or damages arising out of the use of renesas electronics products beyond such specified ranges. 9. although renesas electronics endeavors to improve the quality and reliability of its products, semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. further, renesas electronics products are not subject to radiation resistance design. please be sure to implement safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a renesas electronics product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. because the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system manufactured by you. 10. please contact a renesas electronics sales office for details as to environmental matters such as the environmental compatibility of each renesas electronics product. please use renesas electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the eu rohs directive. renesas electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations. 11. this document may not be reproduced or duplicated, in any form, in whole or in part, without prior written consent of renesas electronics. 12. please contact a renesas electronics sales office if you have any questions regarding the information contained in this document or renesas electronics products, or if you have any other inquiries. (note 1) "renesas electronics" as used in this document means renesas electronics corporation and also includes its majority-owned subsidiaries. (note 2) "renesas electronics product(s)" means any product developed or manufactured by or for renesas electronics. http://www.renesas.com refer to "http://www.renesas.com/" for the latest and detailed information. renesas electronics america inc. 2880 scott boulevard santa clara, ca 95050-2554, u.s.a. tel: +1-408-588-6000, fax: +1-408-588-6130 renesas electronics canada limited 1101 nicholson road, newmarket, ontario l3y 9c3, canada tel: +1-905-898-5441, fax: +1-905-898-3220 renesas electronics europe limited dukes meadow, millboard road, bourne end, buckinghamshire, sl8 5fh, u.k tel: +44-1628-585-100, fax: +44-1628-585-900 renesas electronics europe gmbh arcadiastrasse 10, 40472 dsseldorf, germany tel: +49-211-65030, fax: +49-211-6503-1327 renesas electronics (china) co., ltd. 7th floor, quantum plaza, no.27 zhichunlu haidian district, beijing 100083, p.r.china tel: +86-10-8235-1155, fax: +86-10-8235-7679 renesas electronics (shanghai) co., ltd. unit 204, 205, azia center, no.1233 lujiazui ring rd., pudong district, shanghai 200120, china tel: +86-21-5877-1818, fax: +86-21-6887-7858 / -7898 renesas electronics hong kong limited unit 1601-1613, 16/f., tower 2, grand century place, 193 prince edward road west, mongkok, kowloon, hong kong tel: +852-2886-9318, fax: +852 2886-9022/9044 renesas electronics taiwan co., ltd. 7f, no. 363 fu shing north road taipei, taiwan tel: +886-2-8175-9600, fax: +886 2-8175-9670 renesas electronics singapore pte. ltd. 1 harbourfront avenue, #06-10, keppel bay tower, singapore 098632 tel: +65-6213-0200, fax: +65-6278-8001 renesas electronics malaysia sdn.bhd. unit 906, block b, menara amcorp, amcorp trade centre, no. 18, jln persiaran barat, 46050 petaling jaya, selangor darul ehsan, malaysia tel: +60-3-7955-9390, fax: +60-3-7955-9510 renesas electronics korea co., ltd. 11f., samik lavied' or bldg., 720-2 yeoksam-dong, kangnam-ku, seoul 135-080, korea tel: +82-2-558-3737, fax: +82-2-558-5141 sales offices ? 2011 renesas electronics corporation. all rights reserved. colophon 1.0


▲Up To Search▲   

 
Price & Availability of R5F36CAKDFA

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X